Definitely looks like a server config issue of some sort. References I found online related to the open_basedir and safe mode. Safe Mode has always caused issues with Zenphoto. Marcel, can you give us a phpinfo on your site please, as that will help us see how your host is configured, and give us more clues as to what might be the issue.
If you want to do some searching yourself as well, look for:
open_basedir restriction in effect
on Google.
Let us know when you get the phpinfo working, and we can take a look. If you don't know what phpinfo is or how to set it up, let us know and we'll walk you through the procedure on how to set it up.
Thanks thinkdreams, I'll have a look on Google...
By the way here is the phpinfo of my site :
http://195.70.4.138/phpinfo.php
Hope it'll help ;-)
Marcel55-
Your safe_mode parameter is on. That's what I was afraid of. Safe Mode is not a very nice thing to have on at your host. It breaks a lot of things, including Zenphoto from working properly. Go here for more information about it: http://us2.php.net/features.safe-mode.
We also have a wiki article about Safe Mode as well here:
http://www.zenphoto.org/trac/wiki/ZenphotoFAQ#DoesZenphotoworkwithPHPSafeMode
The best and most ideal solution is to ask your host to turn off Safe Mode for your site. Let us know if you have any questions.
Okay, I saw that to but didn't know it was so important for Zenphoto to work proprely... I'll see with my host and let you know how it goes.
But before doing that, do you think it is possible to modify the PHP configuration by modifying the .htaccess file. In the FAQ of my host they say it is possible to modify php.ini by putting a .htaccess file in the application directory (here zenphoto directory). If this is true, what should I write in it ?
Thanks for your answers !
I've never heard of being able to do that, but some of the others on the forum here might have.
Marcel-
Then we need for you to create a phpinfo.php file, place it in your root webserver directory, and then let us know when it's there so we can point to it with our browsers.
Here's what you can place in the file (and save it as phpinfo.php):
``
I still suspect some server misconfiguration, but we'll help you sort it out.
Thank you...
Here you will be able to read the file : http://www.goat-rock-band.ch/phpinfo.php
Now, the support service of my host proposed me to ad this line in the .htaccess :
php_value include_path .:php_value include_path .:/var/www/vhosts/goat-rock-band.ch/httpdocs/zenphoto
Which I, of course, don't understand and which creates this error :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, didicoen@bluewin.ch and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
And with this I'm unable to access to administration panel anymore... Removing the line makes it OK. Which is still weird 'cause I'm able to administrate the whole thing without beeing able to see it :-S
Thanks again for your help !
Still sounds like a webhost configuration issue. The articles I've been reading point to the open_basedir parameter, which is set to /tmp in your case, is presenting a problem. That's why they are asking you to add that line to your htaccess, to allow zenphoto code to work properly within the httpdocs directory.
It also sounds like they need to configure this for you from their end, not require you to "patch" your server configuration yourself through your site's htaccess. Zenphoto is definitely not doing anything out of the ordinary. Do you have other PHP/MySQL applications running that are having trouble too (like Wordpress for instance?). I'd be curious to see if the open_basedir restriction isn't causing issues with other PHP scripts too.
Well, I tried to install another gallery (Gallery 2... simply) and at a point in the installation I wasn't able to go ahead. The message was that, suddenly, I wasn't allowed to access to the "index.php" of the installation were I was already working on...
I'm not sure that I've understood exactly what you said above. In your opinion my host should modify something on the server ? This open_basedir thing isn't really clear to me actually, but I'll try and have a look...
And if I find time, I'll try and install something else and report here if I meet problems ;-)
And as the week-end is coming, I don't hope they'll answer me before monday... so since then, wait'n'see...
Thanks !
I personally think they've got something misconfigured on their end for PHP scripts. My phpinfo has "no value" in the open_basedir parameter on my host.
Let us know, we are here to help.
Hi- I am using the zpbase template and am having this cryptic blank page issue as well. It does not always happen. I switched themes to the default and did not get this issue so I suspect it is something to do with the zpbase theme. Does anyone have any ideas? Appreciate any insight.
Site is here: http://patrickstull.com/index.php
The site is hosted on Rackspace Sites.
Thanks!
Please open a new topic and place the name of the third party theme in the title (see the rules below the form!). Otherwise its developer may not be able to spot it and therefore not to help. Also see our user guide about best practice to report bugs. This helps to help you.