I have an odd (I think) problem with an installation using a sub-domain. The gallery shows up fine, but when I log in as admin using the sub-domain, I cannot upload pictures and I can't edit the albums. I get the php warning error 'unable to create temporary file in unknown on line 0'
If I use the actual path info to log in as admin, I can upload and edit, but all the pics show as red x's (in the admin section, the gallery show's fine)(also uploading via ftp works fine).
Gallery is at
http://photos.lordhigh.com/To make it even more confusing, I have another gallery loaded on the same server that does not use sub-domain remapping, and it works without a hitch. (
http://www.lordhigh.com/gallery/ )
Thanks for any help - I'm off to work now so it will be a few hours before I see any responses.
(I should add that this is with version 1.0.7, jsut downloaded yesterday.)
Comments
It is indeed strange that you can't upload when using a subdomain, I'll have to look at that, and it's probably a bug if uploading works without a subdomain...
Check your permissions on the /albums directory first of all... I'll see what I can find bug-wise.
It's not really a huge problem because as I mentioned, ftp works fine and I can edit descriptions and titles 'on the fly' - which works, confusing me even more. And even the subdomain is just a desire, not a necessity for me. :)
I appreciate your efforts very much.
Thanks,
SugarRic
Until then, as you say, keep using FTP, it'll work fine. And go ahead and delete the test album I made. Also, I've deleted your account info, no worries.
I wasn't concerned anyway, I figured you were pretty trustworthy.
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_568c15e80cb7ae0d03923e986a8306c1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_568c15e80cb7ae0d03923e986a8306c1, O_RDWR) failed: No such file or directory (2) in /hermes/web04/b161/pow.lordhigh/htdocs/photos/zen/admin.php on line 2
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_568c15e80cb7ae0d03923e986a8306c1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_568c15e80cb7ae0d03923e986a8306c1, O_RDWR) failed: No such file or directory (2) in /hermes/web04/b161/pow.lordhigh/htdocs/photos/zen/admin.php on line 2
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
Does this make it any clearer?
I think it must be a problem with the server's settings.
Confusing.
I still have a problem with photo uploads not actually uploading selected files through the admin interface in zenphoto. RewriteBase is set to /.
Would you be so kind to share your php.ini and zenphoto config (without the confidential information, of course)? If this is my webhosting server config problem then I somehow need to find out what's wrong as admin interface file upload doesn't work for anyone of the 4 zenphoto galleries I set up for family and friends.
PHP version is 4.4.7
I suggest you contact your hosting service for support on this.