Serendipity comes as an add-on with my web hosting. When it was installed, it automatically created a Directory named "serendipity".
I want to change the directory name. What files must I modify in order for this to work, or should should I just download the software, do a new install and upload to the directory of my choice?
Thanks
Changing Directory
Check out the FAQ at http://s9y.org/11.html#A21. Since you'll be using the same database, you can ignore all the database operations. On the other hand, a backup wouldn't do any harm, and might be useful in the event of a catastrophe.
You could also go with a full install, but I don't know how Serendipity will react to an existing, populated database.
You could also go with a full install, but I don't know how Serendipity will react to an existing, populated database.
I simply want to change the folder name from "serendipity" to "blog".
I've modified the directory name in the .htaccess file. I didn't change anything in the _config_local.inc.php file since the database user will remain the same.
All permissions are the same.
Should I change the paths in Admin before I change the folder name?
I've modified the directory name in the .htaccess file. I didn't change anything in the _config_local.inc.php file since the database user will remain the same.
All permissions are the same.
Should I change the paths in Admin before I change the folder name?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You can safely change the path names in Admin after you renamed the directory. 
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Oh if only it were that simple.
I've changed the directory name.
I've changed the path in .htaccess.
I type in www.mydomain.com/blog/ or www.mydomain.com/blog/index.php
I get the following error: Warning: Smarty error: unable to read resource: "" in /home/content/l/d/w/ldw300k/html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
The FAQ says to edit the serendipity_config_local.inc.php file. What edits should be made?
I've installed php scripts before. Usually, if I want to change a directory, I change the directory name in one or two lines, usually in config.php and I'm in business. Am I missing something?
Thanks again.
I've changed the directory name.
I've changed the path in .htaccess.
I type in www.mydomain.com/blog/ or www.mydomain.com/blog/index.php
I get the following error: Warning: Smarty error: unable to read resource: "" in /home/content/l/d/w/ldw300k/html/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
The FAQ says to edit the serendipity_config_local.inc.php file. What edits should be made?
I've installed php scripts before. Usually, if I want to change a directory, I change the directory name in one or two lines, usually in config.php and I'm in business. Am I missing something?
Thanks again.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You must first immediately access your Admin panel, not the frontend, to change paths.
Open www.mydomain.com/blog/serendipity_admin.php and then change the path settings. After that, your frontend will work again.
Best regards,
Garvin
Open www.mydomain.com/blog/serendipity_admin.php and then change the path settings. After that, your frontend will work again.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/