Problem migrating to new server

Having trouble installing serendipity?
Post Reply
jimcald
Regular
Posts: 5
Joined: Fri Oct 27, 2006 5:09 pm
Location: Forest, Virginia
Contact:

Problem migrating to new server

Post by jimcald »

I just finished uploading all of my file to a new hosting server (GoDaddy) and I am having a problem getting the site working.

When I access the page (www.jimcald.us/Serendiptiy?index.php) all I get is:

Warning: Smarty error: unable to read resource: "404.tpl" in /home/content/j/i/m/jimcaldadmin/html/Serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1095

When I try to access the admin page, I get the login message and the login is accepted, but if I try to access one of the links on that page, I am re-directed back to the login screen

this page is working on the other server, so I think that it is a path problem.
Jim Caldwell
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem migrating to new server

Post by garvinhicking »

Hi!

Check if you uploaded all files. Seems that some coretemplate files in your "templates" directory are missing.

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/
jimcald
Regular
Posts: 5
Joined: Fri Oct 27, 2006 5:09 pm
Location: Forest, Virginia
Contact:

Post by jimcald »

Thanks for the reply, I'll check that. I was having issues during the FTP transfers.

Jim Caldwell
Jim Caldwell
jimcald
Regular
Posts: 5
Joined: Fri Oct 27, 2006 5:09 pm
Location: Forest, Virginia
Contact:

Post by jimcald »

Garvin,

I check the directory structure and all of the files appear to be there. What I am having problems with is getting the paths set up properly.

Is there a FAQ or someplace else that explains this more clearly?

I have saved my file one folder deep at the hosting server in a folder called "Serendipity".

My absolute path to this folder is:
/home/content/j/i/m/jimcaldadmin/html/Serendipity/

From the MySQL database here are some of the other paths:

Base URL:http://www.jimcald.us/
Index File: Serendipity/index.php
Upload Path: uploads/
templatePath: templates/
uploadHTTPPath: uploads/
serendipityHTTPPath: /Serendipity/

Thanks for the help.

Jim Caldwell
Jim Caldwell
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That's a wrong setup :)

You need to have this:

Code: Select all

Base URL:http://www.jimcald.us/Serendipity/
Index File: index.php
Upload Path: uploads/
templatePath: templates/
uploadHTTPPath: uploads/
serendipityHTTPPath: /Serendipity/
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/
jimcald
Regular
Posts: 5
Joined: Fri Oct 27, 2006 5:09 pm
Location: Forest, Virginia
Contact:

Post by jimcald »

Thanks for the help, I will change them as noted and see what happens!



Jim Caldwell
Jim Caldwell
jimcald
Regular
Posts: 5
Joined: Fri Oct 27, 2006 5:09 pm
Location: Forest, Virginia
Contact:

Post by jimcald »

That did the trick! With one minor exception, the path to "uploads" was still pointing to the root directory, not the one inside of "Serendipity". I incorporated a workaround by moving "uploads" to the root directory and now everything seems to be working.

Jim caldwelll
Jim Caldwell
Post Reply