i have been using the basic features of zenphoto for years. recently after being hacked i had to rebuild everything. for some reason i cannot add a title to my gallery or albums or images. each time i try when i hit "apply" the titles disappear. have i checked or unchecked something that would make this happen?
thank you for your help.............
Comments
Any errors ?
As for the hack I suggest you read
`http://www.zenphoto.org/news/zenphoto-1.4.1.6`
and
`http://www.zenphoto.org/support/topic.php?id=9960`
B.t.w I'm sure you don't mean to but the use of capitals (your topic title) is considered shouting.
i am now using version 1.4.1.6 since i was hacked i emptied EVERYTHING off my server and started everything fresh. i did not have a backup for my database so i rebuilt all my albums from scratch. tried again today to add titles - not working.
I am signing in to zenphoto at the admin page and trying to add titles to the gallery, albums and photos i have uploaded this way. where is my error log? is it the same as the setup log? there are a few things there:
warn: PHP version 5.2.17 Version 5.3 or greater is strongly recommended. (my server -powweb -- just states php version 5
warn: PHP magic_quotes_gpc [is enabled] ----- i disabled it, does not solve my issue
warn: The Zenphoto filesystem character define is ISO‑8859‑1 [no test performed] Setup did not perform a test of the filesystem character set.......
then there was a "Completed system check"
Migrating lib-auth data version => version 3
Notice: "Module mod_rewrite" is working. The Zenphoto option "mod_rewrite" will be set to "enabled".
-- does this tell us anything??
The error log we reffer to is the CGI or script or apache log (the name depends on the installation, but what we need is for you to look in the log where PHP script errors are recorded.) You will need to ask your provider how to find/view this log.
i contacted my server as regards the error logs and thier reply was: I have asked a member of our team who specializes in CGI error concerns to review your account. You should be hearing from this specialist within 24-48 hours
so i will wait to see what they come back with. The funny thing is i just tried it again in zen photo and refreshed the database and some titles showed up. i tried to add more and all titles disappeared. hopefully i fill find an answer soon.
The db refresh just makes sure the filesystem (your albums) matche the db entries. This actually does not change anything regarding titles and such.
Again, without the log we are guessing which leads to nothing sadly.
this is all i was able to find there:
[26-Dec-2011 13:42:45] PHP Parse error: syntax error, unexpected ')' in /hermes/web07/b2490/pow.nasd/htdocs/test.php on line 2
[26-Dec-2011 13:42:50] PHP Parse error: syntax error, unexpected ')' in /hermes/web07/b2490/pow.nasd/htdocs/test.php on line 2
sorry. this is a mess because of them. i used zenphoto for years with no issue until they screwed me up!!
i hate to "let the computer win" but i'm at a loss. if anyone has any suggestions it would be apprecitated.
The other possibility is that the hosting company used a third party installer. If so, who knows what it has done.
The answer still is that we will have to find out what is happening. There will be an error, eiter PHP or MySQL that is occurring. Otherwise it would be working correctly. So we need to know the error.
i figured out a way around this. rather than changing titles thru the admin login are, i have gone thru my mysqladmin on my server and added titles to the albums. it's kind of a pain but it works and i won't be changing them often.
my gallery remains yet unnamed. i cannot find which area to add a name for my gallery. my guess is it's under zp_options but i am unsure exactly where.
i don't really know php so this has been a learning experience and i appreciate your patience.
Not to hijack your thread but maybe you have info about this that would be helpful to me. I am having trouble with some titles as well. Photos from one particular camera out of three. They are the only ones that have a title and seem to refuse to allow me to keep the title data I enter through the admin/albums/image/title section.
If there is no relation to your issue I understand but I became curious after seeing your thread if the images you can't keep a title on (my descriptions are fine just the titles) are similar in this way.
Hopefully you sorted your problem with this matter out.
now back to the regularly scheduled thread conversation...
@mark r - actually it sounds like you are having a similar issue. i cannot keep titles on anything if i add it via the admin pages. i added titles to my albums by going directly to mysql. if i use the admin page to update a title it just disapears when i hit "apply".
@acrylian - i am losing the titles i add via admin when i hit "apply" i am not hitting the metadata refresh. that is the issue. this issue started after a complete reinstall, not an update.
i am using zen photo on two different servers. on powweb it is not working. on dreamhost it is. i'm thinking i have to live with this problem since no one has the answer. but still need help to enter my gallery title via mysql
Anyway, this all is basic functionality and as it works on one host and not on the other it can be assumed the fault is on that host. Again, as my collegue said we need to get an proper mysql error message, otherwise we can only guess.
The reference to the metadata was mainly for Mark R actually.
i don't seem to be getting any error messages. i do not know mysql. can i generate an error log thru that interface. is that the mysql query?
the version that is working on dreamhost is an older version. my older version on powweb did work before i was hacked and installed the newer version. the older version on dreamhost did not get hacked, but i'm afraid to update
i really appreciate the help i cam getting here and the patience shown but i'm about to bang my head on the wall! maybe you are too
Again, your host has to provide access to the mysql error log (they do not need to be shown while using Zenphoto, that's why there is a log) and without that we will not be able to find out why you cannot add titles etc. via the backend. You cannot generate that log yourself.
[26-Dec-2011 15:43:35] PHP Warning: Invalid argument supplied for foreach() in /hermes/web07/b2490/pow.nasd/htdocs/test/zp-core/functions-basic.php on line 137
[26-Dec-2011 15:43:35] PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in /hermes/web07/b2490/pow.nasd/htdocs/test/zp-core/functions-basic.php on line 141
The error message you show above indicates something wrong with the graphics library--are you by chance using the Imagic library?
unfortunately i have said that a few times here also. i'm not sure if this makes a difference that it's a completely new install vs an upgrade
i am not using imagic libary. i uploaded the new images directly from my hardrive using the flash file upload in zenphoto. (i am using windows 7 pro if that makes any difference)
i found the gallery_title table. when i type the name i want in to the box for value = text when i save it disappears. the album names have stayed.
Have the 26-Dec-2011 error messages gone away? You can reset your error log to clear out old messages. Perhaps they were from when POWWEB was playing with your install.
Just FYI (and I know it does not help) I do use POWWEB for my site without these issues. But I am pretty sure that if POWWEB did the install they used the Simplescripts script to do it. I do not think they "know" how to do otherwise.
So at this point the only suggestion I can make is to install Zenphoto from scratch again yourself by uploading the files from our site and running setup your self.