CAN'T DELETE ITEM PHOTO

_MT_

Joined: 2007-03-02
Posts: 6
Posted: Fri, 2007-03-02 15:06

"Maintenance" -> system is running

Gallery version (not just "2"): 2.1.2
PHP version (e.g. 4.3.11):PHP 4.3.11, PHP 5.1.2

Webserver (e.g. Apache 1.3.33):Apache 2.0 Handler
Database (e.g. MySql 4.0.11):MySql
Activated toolkits (e.g. NetPbm, GD):GD
Operating system (e.g. Linux):Linux barney.onebit.cz 2.6.x-SMP
Browser (e.g. Firefox 1.0):problem not depend on broswer
use matrix theme ...

php memory_limit 16mb but for GD is it still not good because if I would like to create thumbnails during upload a photo the thumbnails is broken but full photo is ok ...I know it but I NEED TO SOLVE ANOTHER PROBLEM...

but my problem is that nobody could delete photo ,,..delete items ,the owner canot too...
why ? ...where is problem ?

when I create new album ,new photo but canot delete it ...

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Fri, 2007-03-02 15:27

what does happen when you click on "delete photo" and then cofirm the command?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
_MT_

Joined: 2007-03-02
Posts: 6
Posted: Fri, 2007-03-02 18:25

than you can see an error page with command nr. 500
500 Internal Server Error

you can try it to create new profile and try it ..
its on http://gallery.photopictures.eu

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Fri, 2007-03-02 19:08
Login or register to post comments
_MT_

Joined: 2007-03-02
Posts: 6
Posted: Thu, 2007-03-08 13:36

When I try to modify main.php to make error_log.txt ...than the capcha doesnt work (the image wasnt showed)
I made it back , and try to buffered file as a change in config.php ...than this only has been showen to me on the page ...:

Warning: ini_set() has been disabled for security reasons in /hosting/www/photopictures.eu/gallery/modules/core/classes/Gallery.class on line 689

Warning: ini_set() has been disabled for security reasons in /hosting/www/photopictures.eu/gallery/modules/core/classes/Gallery.class on line 690

Warning: Cannot modify header information - headers already sent by (output started at /hosting/www/photopictures.eu/gallery/modules/core/classes/Gallery.class:689) in /hosting/www/photopictures.eu/gallery/index.php on line 50

nothing another...

but if I turn on buffered after login to gallery ,than I can try to upload without create thumbnail but the pictures are not showing till I turn off the buffered debug mode to false

I leave the debug mode buffered for now , if you want to try yourself .

Do you think that all problems cames from low level of virtual php memory level ...and how much is necesary to work with images such as 4MB jpg... ? how much I have to try to have for my hosting provider... 100 ? 50 ? 30 ? or 20 ? ...now I have 16MB and its too small as we can see

THX FOR HELP ...

FOR JOIN TO ALBUM USE ID :test1 pass:test1 because capcha doesnt work properly so you canot create new login , and try
HTTP://gallery.photopictures.eu/main.php

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Thu, 2007-03-08 14:29

you get the "warning: ini_set()" messages because your webhost has disabled some php functions.
that's ok. mostly, it just means you probably wont' get g2 working in other languages than English.

> Warning: Cannot modify header information

is a consequence of the ini_set warnings.
when running g2 in normal mode (not in debug mode), you won't get that warning. that's fine.

your internal server error is about something else.

@memory limit:
if you want to use GD, 16 MB is usually not enough. change it to at least 24, better 32M.

question:
did you check your webserver's error log? (this has nothing to do with g2's debug mode)

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
_MT_

Joined: 2007-03-02
Posts: 6
Posted: Fri, 2007-03-09 10:21

the error_log.txt file what I created last week is still empty ...I tryed to change the main.php as I said before to fill error log with dates but ,it doesnt work as you can see... mabye the webhosting provider has some of his own error log file , should I ask him if ... ? I leave the ask to increase php memory to later date because its depend on other version of webhosting by my webhosting provider,but Iam sure that I will do it after...

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32356
Posted: Fri, 2007-03-09 10:26

> should I ask him if ... ? I

yes

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments