I am moving my site to a new host. The database and file transfer worked great. I can view the directory without problems. But when I try to go to the Admin Panel, it just shows a blank page.
I know that the database and attachments directories are correct, beacuse everything BUT the admin panel displays fine. I even went into MySQL and changed wsnlinks_settings > debug to '1' but nothing shows up.
As I said, the directory is working fine. The config.php settings have been changed.
It's only the Admin panel I can't access.
UPDATE: seems like a mod_rewrite problem. I'm going to try erasing the new install, switching off mod_rewrite on the old site, and copying everything over again.
Now everything is blank. The only file that shows anything at all is setup.php.
I ran setup.php (I've got the data backed up elsewhere). Then everything works EXCEPT the admin directory.
The weird part is that there seems to be NO .htaccess file anywhere. I assumed this was a mod_rewrite problem but when that option is OFF nothing works anyway.
The file path changing might affect logins I suppose though I don't really see how, never has for me that I recall.
A few web hosts have an odd rule where the admin directory is taken by the hosting control panel and you have to use another name, but that shouldn't affect a subdirectory, only an install at the domain.
Do you have an .htaccess at some level above the category? They apply downward, doesn't matter how high above they are.
You might also have chmoded admin directory PHP files to a value (such as 666) that your host doesn't allow to be directly accessed from the web. 644 is normally the correct value for public files. Alternately, it might be one of those odd hosts where directories don't work at 777 and will behave as though they were 777 when set to 755 instead (but this last theory is unlikely since http://wesleychapeldoctor.com/directory/attachments/ works and is presumably 777).
Finally, it's possible that missing files might cause such behavior.
Thanks for your help, Paul. I am running a dedicated server and Plesk administrator 8.0. I talked to a techie who added the following lines to the virtual host configuration file:
<Directory /http_root_directory> php_admin_flag safe_mode off php_admin_value open_basedir none </Directory>
Hope my frustration will help someone in the future.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Can't access /Admin/ after moving site
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
I am moving my site to a new host. The database and file transfer worked great. I can view the directory without problems. But when I try to go to the Admin Panel, it just shows a blank page.
I know that the database and attachments directories are correct, beacuse everything BUT the admin panel displays fine. I even went into MySQL and changed wsnlinks_settings > debug to '1' but nothing shows up.
Directory: http://www.wesleychapeldoctor.com/directory/
Admin Panel: www.wesleychapeldoctor.com/.../directory/admin/index.php
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If your URL changed, edit it in config.php. See scripts.webmastersite.net/w...nks/wsnmanual/articles/249
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
As I said, the directory is working fine. The config.php settings have been changed.
It's only the Admin panel I can't access.
UPDATE: seems like a mod_rewrite problem. I'm going to try erasing the new install, switching off mod_rewrite on the old site, and copying everything over again.
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
Now everything is blank. The only file that shows anything at all is setup.php.
I ran setup.php (I've got the data backed up elsewhere). Then everything works EXCEPT the admin directory.
The weird part is that there seems to be NO .htaccess file anywhere. I assumed this was a mod_rewrite problem but when that option is OFF nothing works anyway.
Help! I'm lost!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The file path changing might affect logins I suppose though I don't really see how, never has for me that I recall.
A few web hosts have an odd rule where the admin directory is taken by the hosting control panel and you have to use another name, but that shouldn't affect a subdirectory, only an install at the domain.
Do you have an .htaccess at some level above the category? They apply downward, doesn't matter how high above they are.
You might also have chmoded admin directory PHP files to a value (such as 666) that your host doesn't allow to be directly accessed from the web. 644 is normally the correct value for public files. Alternately, it might be one of those odd hosts where directories don't work at 777 and will behave as though they were 777 when set to 755 instead (but this last theory is unlikely since http://wesleychapeldoctor.com/directory/attachments/ works and is presumably 777).
Finally, it's possible that missing files might cause such behavior.
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
Thanks for your help, Paul. I am running a dedicated server and Plesk administrator 8.0. I talked to a techie who added the following lines to the virtual host configuration file:
php_admin_flag safe_mode off
php_admin_value open_basedir none
</Directory>
Hope my frustration will help someone in the future.