![]() |
|
Zenphoto on local server - 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 on local server (/thread-4233.html) |
Zenphoto on local server - mironb - 2008-12-12 Hi Locale functionality is not implemented on your platform or the specified locale does not exist. Language translation may not work. but the same I have on my webserwer and there is no problem with script. Everything instaling ok, admin panel works ok, but on normal pages I have: or MySQL Query ( INSERT INTO [code]zen_images[/code] ([code]filename[/code], [code]albumid[/code]) VALUES ('001_Panorama_wybrzeza_Libia.jpg', '3'); ) failed. Error: Field 'id' doesn't have a default value Is that problem with mysql or php ? What can I change on my server ? Best Regards Zenphoto on local server - acrylian - 2008-12-12 The setlocale things is actually nothing that prevents zenphoto from running, its just that translations will not work since we entirely rely on setlocale and native gettext() support. If a table does not exist, the setup-program did not run or run properly. Try to run setup again (zp-core/setup.php) or try a clean reinstall. I am running Zenphoto locally on a MAMP environments on a Mac since ever without ever encountering these.. Please report if anything helps. Zenphoto on local server - mironb - 2008-12-12 I created new clear database in phpmyadmin and install again. In instalation there was not any information that samething goes wrong. New installation did not help Still admin panel works good without edit section where I have message: Zenphoto Error In gallery: Maybe it's samething with access to files ? Could samone write my good configuration of phpini file for zenphoto ? Zenphoto on local server - acrylian - 2008-12-12 Hm, I have no idea why these errors occur. I don't think it has to do with the file access, but you could check the permissions if 777. Actually you should not need a special phpini config, I basically run it with the standard settings (I set only one mbstring setting on my local install as our setup recommends) on my local and my site without any issues. I am sure sbillard will have an better idea. Zenphoto on local server - sbillard - 2008-12-13 Date should never be being set to an empty string. So, something has gone wrong. Please find the line in functions-basic.php which reads This will add some information to the error message which will help us find out what is going wrong. Zenphoto on local server - mironb - 2008-12-13 I change this line and in gallery have: Zenphoto Error Backtrace: in query (classes.php [331]) In Admin edit: Zenphoto Error Backtrace: in query (classes.php [331]) I hope this help. Maybe You want my phpini file ? Zenphoto on local server - sbillard - 2008-12-13 Actually, what I would like is Zenphoto on local server - philip_bonev - 2008-12-18 Hi, I have exactly the same problem. I turned on debug information, like you suggested above and got almost same result: Zenphoto Error Backtrace: I am using PHP 5.2.8 and Apache 2.2.8 in Windows Server 2008. I too get only warning for setlocale() when installing. I didn't find ticket in Trac for this, should I set on? Zenphoto on local server - philip_bonev - 2008-12-18 Hi, By the way this seems to be Windows only problem. I tried everything on my linux box and it works ok. Same pictures, apache and php. Zenphoto on local server - sbillard - 2008-12-18 Yes, please make a ticket. Be sure to attach the image cited above. My theory is that this is a problem in handling EXIF/IPTC date fields, but I need to verify that. Zenphoto on local server - philip_bonev - 2008-12-20 Created ticked with one image and image of the error plus some info. Here is the link: Zenphoto on local server - mironb - 2008-12-20 Thanks Zenphoto on local server - sbillard - 2008-12-20 Thanks. Then I guess the theory was correct. (Or maybe you are running on a Windows server which is the other thing found/fixed in this area recently.) I have not yet had the chance to look at the image you provided. Zenphoto on local server - by - 2009-01-07 hello, I don't know if it's correlated but I had similar problems on my local installation (Apache 2.2.9; php 5.2.6 and MySQL 5.0.67). I solved the problem by changing 1 line in the my.ini file (MySQL ini file): sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" best regards Zenphoto on local server - marcov - 2009-01-08 I am also using zenphoto on a windows PC and it works fine with the wampserver package, even though the setlocale fails here too. |