chrometweaks.org

Moving Website From iPage to Hostgator Without Losing Google Rankings?

Click Here To View All Answers...


Question I have... Moving Website From iPage to Hostgator Without Losing Google Rankings? Thanks in advance for any answer. Second question of mine... I am recieving the following error when I try to access the files via Tools:.

Warning: OpenDir: Permission denied (errno 13) in /home2/blah/blah/blah/admin/admin/file_manager.php on line 187.

Fatal error: Call to a member function on a non-object in /home2/blah/blah/blah/admin/admin/file_manager.php on line 188.

File Manager.

/home/blah/blah.

I have access to the files in CPanel, but only to /home. Can someone Please help me with this? Any help would be GREATLY appreciated..

Again, thank you for any help..

Newb Power!..

Comments (68)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some research in Google and get back to you if I got an answer. You should email the people at iPage as they probably can answer it..

Comment #1

Can you post lines 187 - 188 from the file (the whole section). And any other lines that may be appropriate..

Peter..

Comment #2

So a stab in the dark here;.

While ($file = $dir->read()) {.

Your permissions are wrong for the directory, which one I don't know..

If ( ($file != '.') && ($file != 'CVS') && ( ($file != '..') || ($current_path != DIR_FS_DOCUMENT_ROOT) ) ) {.

My guess it has something to do with the admin/admin in your listing for the error, a configure.php errror..

But like I said, just a stab in the dark I know I will be corrected by someone much better than me...

Comment #3

Yes, I can post that, will be a few hours before I can. Im at my 'real job' at the moment. What Im really confused about is why it's giving me an error from /home2 yet the file manager in in /home. I looked at the lines referred to in the error and theres nothing there about /home2. I guess what I really want to know at this point is why would it refer to /home2 at all ??? Is this something that will be able to be fixed from CPanel which allows me to view /home files?.

Will post lines later, when Im home to do so. Theres nothing worse than taking over something for someone else and when you try to fix all the problems that they created, you get bit**ed at....

Thanks so much for your response. code to follow...

Comment #4

Heres lines 184 thru 198.

$showuser = (function_exists('posix_getpwuid') ? true : false);.

$contents = array();.

$dir = dir($current_path);.

While ($file = $dir->read()) {.

If ( ($file != '.') && ($file != 'CVS') && ( ($file != '..') || ($current_path != DIR_FS_DOCUMENT_ROOT) ) ) {.

$file_size = number_format(filesize($current_path'/'$file))' bytes';.

$permissions = tep_get_file_permissions(fileperms($current_path'/'$file));.

If ($showuser) {.

$user = @posix_getpwuid(fileowner($current_path'/'$file));.

$group = @posix_getgrgid(filegroup($current_path'/'$file));.

} else {.

$user = $group = array();.

Im lost...

Comment #5

Take a look at the settings in your admin/includes/configure.php, at about lines 18 and below..

Define('DIR_FS_DOCUMENT_ROOT' ....

Should be set for the absolute path to whatever directory you want to make the document root in the admin tool..

Note that there is no similar define in the catalog/includes/configure.php...

Comment #6

I am recieving the following error when I try to access the files via Tools:.

Warning: OpenDir: Permission denied (errno 13) in /home2/blah/blah/blah/admin/admin/file_manager.php on line 187.

Fatal error: Call to a member function on a non-object in /home2/blah/blah/blah/admin/admin/file_manager.php on line 188.

File Manager.

/home/blah/blah.

I have access to the files in CPanel, but only to /home. Can someone Please help me with this? Any help would be GREATLY appreciated..

Again, thank you for any help..

Newb Power!..

Comment #7

Ok, so either this is a ridiculously stupid question I have or it's something that nobody wants to help with. again, I am asking for any help at all with this...

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.