Hi everyone,
I really hope that someone kind could help me here!
I have just moved my great WCMS site and db to a different server but now I can't login. When I put all my details in the login.php and press submit then a standard 'The page cannot be displayed' is displayed directly.
! The page is running perfectly.
! Chmod on files and folders are 777
! I can see it is communication correctly with the db. It tracks user_log and when I tried to create a new admin in the setup I got the same error but a new admin was recorded in the db!
! My security level on my IE is set to Zero enable all cookies.
! I really think that the different paths is correctly. I mean, the front works great.
? the table user_details is empty. Is this correct and what is this table for?
? What should I do??
Thanks and take care!
/ Gnolen[/code]
Small Login problem (not the normal one)
I had same problem, here's what you do, go into your config. Im going to use an example on this but it should work the same ... for site name you would use something like http://something.com if it's in the "asdf" folder in something.com you would need to do something above it in one of the fields and make the site path or folder or what ever "asdf".
once logged in with your current problem you should be able to go to http://yoursite.com/asdf/phpwcms.php and that should display right, if that's what happens then I can fix your problem but I'm at school right now and cant look at the config file to figure out exactly where the problem is, if you could post it (with out the passes for DB and stuff) and link to where the login problem is I can help alot more. (that's if you can get it to me before this class is out (1:19 PM Est))
once logged in with your current problem you should be able to go to http://yoursite.com/asdf/phpwcms.php and that should display right, if that's what happens then I can fix your problem but I'm at school right now and cant look at the config file to figure out exactly where the problem is, if you could post it (with out the passes for DB and stuff) and link to where the login problem is I can help alot more. (that's if you can get it to me before this class is out (1:19 PM Est))
Thanks Bob314!
I did not really get what you meant with:
[quote="bobd314"]for site name you would use something like http://something.com if it's in the "asdf" folder in something.com you would need to do something above it in one of the fields and make the site path or folder or what ever "asdf". [quote]
Please tell me more about what I could do. My paths is like this now(correctly)..And unfortunatly I can't give you a link because I am running on my dev.server..
Thanks! / Gnolen
I did not really get what you meant with:
[quote="bobd314"]for site name you would use something like http://something.com if it's in the "asdf" folder in something.com you would need to do something above it in one of the fields and make the site path or folder or what ever "asdf". [quote]
Please tell me more about what I could do. My paths is like this now(correctly)..And unfortunatly I can't give you a link because I am running on my dev.server..
Code: Select all
// site values
$phpwcms["site"] = "http://localhost/";
$phpwcms["admin_email"] = "hendrikgnolen@hotmail.com";
// paths
$phpwcms["root"] = "cms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
Alright well now im home.. ummm I had that problem.. but what I was doing is I had the $phpwcms["site"] set to http://wh0cares.com/New
and I also had $phpwcms["root"] set to /New also so it was auctually pointing to http://wh0cares.com/New/New but it wasn't in that folder, it was in http://wh0cares.com/New but for some reason yours looks right.. here's my part of the config file..
What I had to do was just change the Site to http://wh0cares.com, that was my problem, it might not be yours.
and I also had $phpwcms["root"] set to /New also so it was auctually pointing to http://wh0cares.com/New/New but it wasn't in that folder, it was in http://wh0cares.com/New but for some reason yours looks right.. here's my part of the config file..
Code: Select all
// site values
$phpwcms["site"] = "http://www.wh0cares.com/";
$phpwcms["admin_email"] = "bobd314@wh0cares.com";
// paths
$phpwcms["root"] = "New"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
If this is not an installation on your local machine... ditch the following:
and use the actual URL... for example:
Code: Select all
// site values
$phpwcms["site"] = "http://localhost/";
Code: Select all
// site values
$phpwcms["site"] = "http://www.Gnolen.com/";
yes but if it is on his local machiene (excuse my spelling) and he doesnt have it fowarding to an ip.. that's about all he could use.. you could try http://127.0.0.1/ but I dont know.