ZenphotoCMS Forum
Zenphoto 1.1 Bug Hunt - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Zenphoto 1.1 Bug Hunt (/thread-1644.html)

Pages: 1 2 3 4 5


Zenphoto 1.1 Bug Hunt - mgalarneau - 11-10-2007

I loaded the new build from oct 8 and also added a value under this field in the option menu :

Image size: Default image display width.

It's only when there isn't any value that I get the error message,




Zenphoto 1.1 Bug Hunt - sbillard - 11-10-2007

Was this field empty originally? It should have had a value set in the zp-config.php file circa line 95.




Zenphoto 1.1 Bug Hunt - redrag - 11-10-2007

Hello

I'm trying the last nightly build, and have got some strange lines on the header and the footer (sorry I'm not a web-developer) see picture here
I remove the line 2 in the "admin.php" file: session_start();.
Now it's ok, but I would like to know if it's ok like that or if I must keep that line.

thank you




Zenphoto 1.1 Bug Hunt - sbillard - 11-10-2007

session_start() is a PHP function, so this error should not occur. Can you find out what version of PHP you are running? I'm not really sure what the consequence of running admin without a session would be.




Zenphoto 1.1 Bug Hunt - trisweb - 11-10-2007

The session_start error is because PHP can't write to the temp directory for session files. This is a server configuration error - either give the web server user permission to access that directory, or change the directory to one the server can write to in php.ini

A warning message for this situation would be good - not sure if that's possible though.

Update: Actually for you if you just create the directory /blogderedrag/sessions and do chmod 777 sessions on the folder, it should work.




Zenphoto 1.1 Bug Hunt - jordi-kun - 12-10-2007

just a small issue... when i upgraded the database (upgrade.php), the "administrate" link does not open the admin page but the gallery.




Zenphoto 1.1 Bug Hunt - jordi-kun - 12-10-2007

regarding the last post... there is a missing backslash:

administrate.




Zenphoto 1.1 Bug Hunt - aitf311 - 12-10-2007

Got it put in the svn jordi-kun




Zenphoto 1.1 Bug Hunt - redrag - 13-10-2007

Quote:Update: Actually for you if you just create the directory /blogderedrag/sessions and do chmod 777 sessions on the folder, it should work.
Thank you very much, it works with it ;-)




Zenphoto 1.1 Bug Hunt - olihar - 13-10-2007

Sorry the hosting company deleted a table from the database... never mind.




Zenphoto 1.1 Bug Hunt - Chilifrei64 - 14-10-2007

I am going to keep this one short because I think a lot of my problems are stemming from my pathing issue specified below.

This is the Oct 13th Nightly Build

zen/setup.php
Line 150

Says
echo "We're all set to create the database tables: [code]$tbl_albums[/code], [code]$tbl_images[/code], and [code]$tbl_comments

Should say
echo "We're all set to create the database tables: $tbl_albums[/code], [code]$tbl_images[/code], $tbl_comments, and $tbl_options

Notice tbl_options

zen/admin.php

When Default, Effervescence_Simpleviewer, and Sterile, theme is selected I get a blank page. If I set php display_errors=ON I receive this error message

when viewing the gallery

Warning: require_once(D:\Website\beta.chilifrei.net\zpcommunity/D:\Website\beta.chilifrei.net\zpcommunity\zen/admin-functions.php) [function.require-once]:

failed to open stream: Invalid argument in D:\Website\beta.chilifrei.net\zpcommunity\themes\default\themeoptions.php on line 26

Fatal error: require_once() [function.require]: Failed opening required

'D:\Website\beta.chilifrei.net\zpcommunity/D:\Website\beta.chilifrei.net\zpcommunity\zen/admin-functions.php' (include_path='.;C:\php5\pear') in

D:\Website\beta.chilifrei.net\zpcommunity\themes\default\themeoptions.php on line 26

zen/admin.php
Spam filter drop down list lists off all files in /zen folder instead of /zen/plugins/spamfilters

General
Something seems wrong with pathing.

When I hit submit on the admin options page it takes me to
http://beta.chilifrei.net/zpcommunity/D:%5CWebsite%5Cbeta.chilifrei.net%5Czpcommunity%5Czen/admin.php?page=options

Images do not show up. An example is the image source for the album thumbnail points to
http://beta.chilifrei.net/zpcommunity/D:%5CWebsite%5Cbeta.chilifrei.net%5Czpcommunity%5Czen/i.php?a=Autorama%2FAutoRama+2005&i=DSC00414.JPG&s=thumb

Not totally sure where that is going wrong here but other errors like sajax not initiating, Admin Toolbox toggle on some themes, images not showing up anywhere, even static one on admin login page, and submit buttons not working is all stemming from this one problem.

As you can see it takes me to a redirect to my local path.




Zenphoto 1.1 Bug Hunt - jordi-kun - 14-10-2007

@Chilifrei64
I had something similar with the paths... try changing the zp-locator.php to a relative path instead of absolute:

that is, change the D:/Website/beta.chilifrei.net/zpcommunity/zen to zen




Zenphoto 1.1 Bug Hunt - sbillard - 14-10-2007

zp-locator.php should have had a relative pat. What was in it?




Zenphoto 1.1 Bug Hunt - jordi-kun - 14-10-2007

whenever I run the upgrade.php, I get the zp-locator to absolute path, in my case, D:/htdocs/zenphoto_test/zen (note that they are backslashes, may that be the issue?)




Zenphoto 1.1 Bug Hunt - Chilifrei64 - 14-10-2007

yeah.. that was it.. mine showed absolute and not relative. and that worked for atleast showing the gallery. Precaching the images and admin page submitting still didnt work.

When did zp-locator.php make its debut in zenphoto.. how long have I missed that?




Zenphoto 1.1 Bug Hunt - sbillard - 15-10-2007

zp-locator.php is recent, it was an attempt to allow the zen folder to be arbitrarily named.

Guess you guys are running Windows servers. (the \, missed that one!) We have decided not to make the zen folder dynamic, Tris thinks it is too much risk. Instead it will become named zp-core. This will require that you pay attention to .htaccess file.




Zenphoto 1.1 Bug Hunt - mgalarneau - 18-10-2007

Quick Question?

Where is the date taken from that shows on the album thumbnail taken from. My are all incorect and I can't seem to find where to modify it. If I edit the album and chnage the dates, it as no effect on anything.

Thank you !




Zenphoto 1.1 Bug Hunt - sbillard - 18-10-2007

It is got from the first image in the album. It comes from one of: the EXIF date or the file 'creation' date. The latter would most likely be the date you uploaded the file.

You modify the date in the Admin album edit tab. Are you sure you saved the change? Changing the date works for me.




Zenphoto 1.1 Bug Hunt - mgalarneau - 19-10-2007

I have entered the date and save properly, when I look in the edit screen the dat changes but on the album it still says : Date Taken: October 31st, 2006 even if I set the date to 2007-10-11... weird




Zenphoto 1.1 Bug Hunt - jordi-kun - 23-10-2007

I'm not sure if it's a "regional settings" issue but all the album dates are wrongly displayed in the index page.

It looks like the myts_date() function does not parse correctly the date string. I had to change this to make it work in my computer:
`$month = substr($mytimestamp,5,2);

$day = substr($mytimestamp,8,2);

$year = substr($mytimestamp,0,4);

$hour = substr($mytimestamp,11,2);

$min = substr($mytimestamp,14,2);

$sec = substr($mytimestamp,17,2);`

Do you guys get the date displayed properly?