Pages: 1
Hi,
I have freshly installed the Piwigo to test it to my website but I always get this error whenever I create category or add upload pictures..
here are the error message that I get at the top of the admin page
Notice: Undefined index: uploads in 73shelves.com/photos/admin/photos_add_direct.php on line 207
Warning: implode() [function.implode]: Invalid arguments passed in 73shelves.com/photos/admin/photos_add_direct.php on line 217
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
UPDATE piwi_images
SET level = 0
WHERE id IN ()
; in /73shelves.com/photos/include/dblayer/functions_mysql.inc.php on line 642
Warning: Invalid argument supplied for foreach() in 73shelves.com/photos/admin/photos_add_direct.php on line 225
Warning: Cannot modify header information - headers already sent by (output started at /73shelves.com/photos/admin/photos_add_direct.php:207) in /73shelves.com/photos/include/page_header.php on line 98
Hi 73shelves.com,
JPEG files or PNG files?
Did'nt you have errors before this one? (in the small notification "bubbles")
What is your photo filesize?
Have you tried with smaller filesize?
Have you tried the "old style" form?
Offline
I get the same error message.
Using Mandriva 2010.1. Jpeg-files.
Offline
I can find the photos I uploaded in Recent pictures --> Elements
==
==
I also have this error messages in 'Administration home':
Integrity check
Anomaly Correction
$conf['show_exif'] value is incorrect because exif are not supported $conf['show_exif'] must be set to false in your local/config/config.inc.php file
Go to the forum or the wiki for more informations
$conf['use_exif'] value is incorrect because exif are not supported $conf['use_exif'] must be set to false in your local/config/config.inc.php file
Go to the forum or the wiki for more informations
==
==
More info about the system:
Environment
Operating system: Linux
PHP: 5.3.2 (Show info) [2010-06-22 23:41:15]
mysql: 5.1.46 [2010-06-22 21:41:15]
Database
2 images (first element added on Tuesday 22 June 2010)
1 category including 0 physical and 1 virtual (0 associations)
0 tags (0 associations)
2 users
0 groups
0 comments
Offline
Hi josi,
I'm absolutely not sure the origin of the problem is the same as for 73shelves.com. But for you, I would say that you should try to deactivate the use of EXIF. To do so:
1) Go to screen Administration>Plugins>Manage and activate "LocalFiles Editor"
2) Go to screen Administration>Plugins>LocalFiles Editor>local config, the code must be:
<?php
$conf['use_exif'] = false;
?>
3) click on the "Save file" button
4) try to upload another photo
Offline
sorry for late reply.
the file size is 36 kb, and dimension or size is 150x150 picture type is jpeg
the website is fresh install as in nothing yet added to the system or nothing modified to the website very fresh install.
I tried them 10 times adding categories and pictures it gives me the same error at the top of the admin pages.
the installed pwigi is release 2.1.1
73shelves.com,
Didn't you have errors before this one? (in the small notification "bubbles")
Have you tried the "old style" form?
Offline
the problem on the new category and add new pictures is now solved,
below is the configuration that I added to the config file.
using localfiles editor at the plugins on the admin page
<?php
/* File is not existing and will be created by LocalFiles Editor */
$conf['show_exif'] = false;
$conf['use_exif'] = false;
?>
yes I got the bubbles error at the admin pages, I thought it can be ignored because there is a message that says "ignore selected anomalies" I thought is just a minor bugs and can be ignored but turns out that it needs to have it fix.
thanks is now fix.
plg wrote:
73shelves.com,
Didn't you have errors before this one? (in the small notification "bubbles")
Have you tried the "old style" form?
I solved the problem by installing php-exif.
Maybe Piwigo could suggest that php-exif is missing?
Offline
josi wrote:
Maybe Piwigo could suggest that php-exif is missing?
Yes, I think I will add:
1) a warning message saying that EXIF functions are missing
2) a piece of code to avoid trying to read the EXIF metadata if the EXIF functions are disabled
Offline
Offline
how do we install the php-exif to piwigo?
josi wrote:
I solved the problem by installing php-exif.
Maybe Piwigo could suggest that php-exif is missing?
In linux, just install the package php-exif using the package manager.
In my case, I'm on a Mandriva server, I just typed 'urpmi php-exif' in the terminal.
Offline
Pages: 1