Help - Search - Members - Calendar
Full Version: Joomla or server problem
The Planet Forums > System Administration > Web Hosting
ns1
Hi,

In January we have moved to new server and it seemed that all worked fine.
Then 2 problems occured on 2 sites with Joomla:

1) When uploading images via RS Gallery2 using ftp upload first I get this error:

QUOTE
Warning: getimagesize(/home/ivofan/public_html/slike/.ftpquota) [function.getimagesize]: failed to open stream: Permission denied in /home/ivofan/public_html/administrator/components/com_rsgallery2/includes/file.utils.php on line 252

when i continue with the upload I get blank page with this:

QUOTE
Fatal error: Call to undefined function deldir() in /home/ivofan/public_html/administrator/components/com_rsgallery2/includes/file.utils.php on line 331


2) On other site index page simply loads "blank page" no errors, nothing.

If you know what could be causing this please let me know.
James Jhurani
QUOTE (ns1 @ Feb 3 2009, 05:39 AM) *
Hi,

In January we have moved to new server and it seemed that all worked fine.
Then 2 problems occured on 2 sites with Joomla:

1) When uploading images via RS Gallery2 using ftp upload first I get this error:

when i continue with the upload I get blank page with this:

2) On other site index page simply loads "blank page" no errors, nothing.

If you know what could be causing this please let me know.


The first error is pretty self explanatory.

The error states "permission denied", make sure whichever user apache is running as, has access to read /home/ivofan/public_html/administrator/components/com_rsgallery2/includes/file.utils.php.

Without digging deeper, I can only guess with the second error. But it is likely caused by the first error. Meaning, since it cant load file.utils.php, which contains functions, it likely cant see the definition for deldir(). As a result, it thinks the function is undefined.
ns1
QUOTE (James Jhurani @ Feb 4 2009, 05:28 AM) *
The error states "permission denied", make sure whichever user apache is running as, has access to read /home/ivofan/public_html/administrator/components/com_rsgallery2/includes/file.utils.php.


I have chmoded it to 777 and it's directory. still it shows the same error. point is that this worked great before I migrated this site to new server via Cpanel WHM Transfer account.
Jeff
Just throwing out ideas:
is ownership (user) correct on the account's directories?
are you running the same version of php on old and new server -- you didn't change php versions or from phpsuexec to non phpsuexec?
ns1
ownership of the account is ok on all directories.

however, I am not sure about php versions, also, I think that old server wasn't php suexec and new one is...
although I would like to have suexec on server since it takes care of problem with ownership of directories
lvalics
You can install mod_suphp.

An extensive tutorial is here
http://www.grafxsoftware.com/faq.php/HOW-T...ted-Server/1/4/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.