Member
Member
SugarRic   2007-02-28, 22:01
#1

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.)

Developer
Developer
trisweb   2007-02-28, 23:17
#2

Can I possibly have the admin user/pass? I don't have a developer's backdoor I can use ;-) you may e-mail it to me at trisweb at this domain if you like.

Member
Member
SugarRic   2007-03-01, 01:42
#3

Yup, it's on it's way. Thank you.

Developer
Developer
trisweb   2007-03-01, 02:11
#4

Ahh, okay, I think see what's happening.

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.

Member
Member
SugarRic   2007-03-01, 02:32
#5

I checked the permissions for the albums directory, they were set at 755 (which, btw, works fine on the other installation) so I changed them to 777 and tried again with the same results (no upload).

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

Developer
Developer
trisweb   2007-03-01, 02:40
#6

I'll check the diferences in upload between subdomain and not, we'll see what the problem is

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.

Member
Member
SugarRic   2007-03-01, 02:48
#7

Thank you.

I wasn't concerned anyway, I figured you were pretty trustworthy.

Member
Member
SteveMoody   2007-03-01, 11:07
#8

I've got a test version of Zenphoto set up on a subdomain so i just tried to upload some images via the admin interface and it seemed to work fine for me. I am using a version from svn though rather than 1.0.7.

Developer
Developer
trisweb   2007-03-01, 11:30
#9

SugarRic, try out the 1.0.8 that was released today, see if that does it.

Member
Member
SugarRic   2007-03-01, 14:22
#10

Okey-Doke, I'll give it a try. Thanks.

Member
Member
SugarRic   2007-03-01, 14:54
#11

Nope - no go. This is what my error log shows:

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? :p
I think it must be a problem with the server's settings.

Member
Member
SugarRic   2007-03-01, 15:16
#12

Just as an FYI - I set up another on the same server without the subdomain and I'm showing the same error message, except this time the photos upload.

Confusing.

Member
Member
mav   2007-11-26, 03:28
#13

I'm getting this same problem with current ZenPhoto 1.1.2. Does it mean that this problem hasn't been addressed and we can't use subdomains for zenphoto galleries?

Member
Member
sbillard   2007-11-26, 03:36
#14

Subdomains work fine with zenphoto see: http://albums.sbillard.org/ The error SugarRic has posted is a problem with zenphoto starting a session. That has to be some kind of server configuration problem.

Member
Member
mav   2007-11-26, 04:33
#15

Ouch, I posted into a wrong thread. I guess I got carried away by the fact that I got the session start error as well, though that one was easy to resolve by editing php.ini provided by my webhost.

I still have a problem with photo uploads not actually uploading selected files through the admin interface in zenphoto. RewriteBase is set to /.

Member
Member
mav   2007-11-26, 18:38
#16

sbillard,

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.

Member
Member
sbillard   2007-11-26, 18:50
#17

The zp-config.php file is identical to the one in the distribution except for the password information.

PHP version is 4.4.7

I suggest you contact your hosting service for support on this.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.