Pages (2): 1 2   
Member
Member
2001exhibit   2013-05-30, 23:59
#1

Needed to relocate zenphoto site to new server (all zen-core files plus everything else from the old server, albums, etc). So, I had to reinstall new setup pages again (just the setup php files (10)). But when I access to the setup page - its blank. Permissions are all correct (755). I do have full permissions to insall.

Did anyone else have the same problem when switching servers?

old server: 2.6.9-103.ELsmp GNU/Linux
new server: Red Hat Enterprise Linux Server release 5.9 (Tikanga)

I still use Zenphoto 1.4.4.4. not ready to upgrade.

Thanks!

hope someone can give me a clue.

Administrator
Administrator
acrylian   2013-05-31, 07:32
#2

Error logs?

Member
Member
2001exhibit   2013-05-31, 14:24
#3

Admin thought of the same thought - they said this might help you -

[Thu May 30 17:36:17 2013] [error] PHP Fatal error: Call to undefined function zp_getCookie() in ............../zp-core/functions-i18n.php on line 444

Administrator
Administrator
acrylian   2013-06-01, 10:19
#4

Sadly we have no idea. We have to suggest to upgrade to the latest release.

Member
Member
2001exhibit   2013-06-03, 21:46
#5

... sigh ...
I've customized some pages and I need to make this work on the server before I can upgrade. Thank you anyway.

Member
Member
sbillard   2013-06-04, 01:05
#6

You have the cart before the horse. You are having a problem with an old release. The first step is to not be running the old release. Perhaps that alone will fix your issue.

I do not understand your statement about the customization. An upgrade within the release family will not have any issues with a theme or plugin that is customized.

If you have done something to the core, then you are on your own. We certainly are in no position debug on an old release.

Member
Member
2001exhibit   2013-06-04, 19:07
#7

I only updated the css file and moved files to a new server.
And reinstall the setup files which came up with a blank page. I'll delete 1.4.4.4 (but keep the old albums and css (customization) )and start over with the new update of Zenphoto. Thank you. I'll keep you posted.

Member
Member
2001exhibit   2013-06-06, 22:44
#8

Okay - I reinstalled the new version of ZenPhoto - despite minor Log security & PHP version issues. The Setup cannot connect to MySQL. I'm asking the admin to send me error logs so I can figure what is going on. The MySQL. admin set up the db and doesn't understand why setup is not connecting.

Member
Member
2001exhibit   2013-06-10, 22:56
#9

The setup page is having problems connecting MySql DB. There is a DB called zenphoto setup for me from DB Admin. But this guy doesn't understand why the setup page can't connect to MySql or even attempt to create its table when it was assumed it was from the web support. My zenphoto log says:

Zenphoto Setup v1.4.4.8[4fd3c047c8]: Mon, 10 Jun 2013 14:07:58 -0700
Query error: MySQL not connected
Warn: Log security [is compromised] Zenphoto attempts to make log files accessable by owner only (permissions = 0600). This attempt has failed. The log file permissions are 0775 which may allow unauthorized access.
Warn: PHP version 5.3.3 PHP Version 5.2 or greater is required. Version 5.4 or greater is strongly recommended. Use earlier versions at your own risk.

The DB Admin has sent a request to the unix admin to check the server logs for further details plus check permissions on my web account which he highly suspects could be the key. Previously, the account was setup for full privileges for zenphoto setup files but that doesn't seem to be the case

Member
Member
sbillard   2013-06-11, 00:56
#10

If Zenphoto cannot connect to the MySQL server then one (or more) of the following are not set correctly in the configuration file

The MySQL user id
The password for the MySQL user
The Host that MySQL resides upon
The database that you wish to attach to.

Member
Member
2001exhibit   2013-06-11, 19:19
#11

This is extremely helpful. I just sent the list to them.

Member
Member
2001exhibit   2013-06-11, 23:57
#12

I didn't have enough permissions or ownership in the web account to connect with MySQL.
Everything else was a breeze once everything was reset.
But I accidentally moved my old configuration to the new server with the new ZenPhoto (I thought I had deleted that). Once permissions were reset - I saw my old configurations in setup!!! It was an easy task to add the new configuration into the fields in setup and that worked. It was a matter of setting up my Admin page username and password from then on. I'm now able to see my images without the descriptions from the old server. So I started to add descriptions but the admin wouldn't allow me to do that after apply. The following error:

{19919:Tue, 11 Jun 2013 23:40:40 GMT}
WARNING: imagepng(): Unable to open '/var/www/docs/environment/artcollection/cache/paintings/screen-shot-2013-04-04-at-3.42.48-pm_40_cw40_ch40_thumb.png' for writing: Permission denied in /var/www/docs/environment/artcollection/zp-core/lib-GD.php on line 94
imagepng called from zp_imageOutput (lib-GD.php [94])
from cacheImage (functions-image.php [421])
from i.php [182]

Also from the admin apply results - I also get the message error:

Forbidden

You don't have permission to access /artcollection/zp-core/admin-edit.php on this server.

N.O.Y.B Server at environment Port 80

Any thoughts? Before I talk to the unix admin in the morning?

Thank you.

Member
Member
sbillard   2013-06-12, 01:20
#13

Those are both filesystem permissions issues.

Member
Member
2001exhibit   2013-06-13, 22:12
#14

we're baffled.
It seems that I cannot add full sentences to my Descriptions.
For example, I can't cut and paste my old content from the old server to the new Zenphot and new zenphoto.
Thats when I get the server error:

Forbidden

You don't have permission to access /artcollection/zp-core/admin-edit.php on this server.

N.O.Y.B Server at environment Port 80

My question to anyone on the forum, what files or directories need to have apache/server permissions for Admin-edit can work or is there something else going on here?

Member
Member
sbillard   2013-06-13, 22:41
#15

Which file permissions work is server dependent. But from the sounds of things I would guess the basic problem is that the server user ID used for uploading by FTP is different from the one the WEB server software is using to run the Zenphoto application.

If you cannot fix that then the only choice is to make the files public (not recommended). Talk to your hoster about this. It is a common mis-configuration.

Member
Member
2001exhibit   2013-06-13, 23:54
#16

Excuse my ignorance ... User ID used for uploading by FTP? Is that the ID I setup up in Zenphoto software on the new server or are you talking about my web account (which is different when I log on the server when I use FTP apps or telnet). If so - I didn't know that Zenphoto had to use the same username and password as my web account for Zenphoto.

Member
Member
sbillard   2013-06-14, 00:09
#17

None of these are zenphoto items. They are user ids belonging to your server. The FTP one is the user id you supply when your FTP client connects.

The User ID the web server uses has to be configured by your host.

Member
Member
2001exhibit   2013-06-14, 00:10
#18

Stop the presses.
I Did a test by uploading a new image and adding new content and that worked.
I guess the old mages in the folders transferred from the old server & Zenphoto didn't work. The Zenphoto will not create content for me. I have to start all over again. Thats a lot of images. So the transition and upgrading to a new Zenphoto did not work for this process.

Member
Member
sbillard   2013-06-14, 01:23
#19

I suppose you uploaded via Zenphoto, so that is why it worked. More evidence that the user setup on your server is screwed up.

Member
Member
2001exhibit   2013-06-18, 23:58
#20

Well, the description field failed again. I do think its a user setup issue on the new server. Thi sis so frustrating. The Admin can't figure the differences from both servers. Why one works and the other doesn't.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.