please help i cant upload photo in my gallery

zotek

Joined: 2011-10-05
Posts: 9
Posted: Tue, 2013-03-05 06:12

please help i cant upload photo in my gallery..i tried this fix but non of them work..(http://codex.galleryproject.org/Gallery3:Troubleshooting:Uploading)

i dont see this (php_value memory_limit) in my .php

and also this(ulimit -a)

please help..

thank you

EDIT:
i just got respond from my hosting company and they said my php upload limit is 128MB per file..so i should be good right??

why people are not responding here?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-03-06 04:40
Quote:
why people are not responding here?

All in the community, even core team members, do this as a hobby and have no obligation to you or anybody else. Waiting for more that 24 hours would not be uncommon with people having real jobs that pay for food and other essentials of life for their families.

What error do you see? Anything in the logs? Do smaller images work? What image toolkit are you using? Did they work before? What other steps have you tried?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
zotek

Joined: 2011-10-05
Posts: 9
Posted: Wed, 2013-03-06 04:54

sorry about that.

Quote:
What error do you see?

unable to process this photo

Quote:
Do smaller images work?

before no.even 5KB now yes after i reinstall the gallery. but bigfiles wont work like 10mb

Quote:
What image toolkit are you using?

where can i find that?

Quote:
What other steps have you tried?

only this. ".(http://codex.galleryproject.org/Gallery3:Troubleshooting:Uploading)"
and run all kinds of maintance

thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-03-06 05:32
Quote:
before no.even 5KB now yes after i reinstall the gallery. but bigfiles wont work like 10mb

So does that mean that 5K files do work?

Quote:
where can i find that?

Admin -> settings -> Graphics. If you are using GD then you have to live with the limitation it and your host imposes as it is not a good a IM as a toolkit.

floridave wrote:
Anything in the logs?

Perhaps you have not looked for them? They are in the /var/logs directory of your install.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
zotek

Joined: 2011-10-05
Posts: 9
Posted: Wed, 2013-03-06 06:00

ok now i re-reinstalld gallery3. just to make a fresh start. but now when i trying to ADD album i get this

Quote:
We tried really hard, but it's broken.
Hey wait, you're an admin! We can tell you stuff.

There's an error message below and you can find more details in gallery3/var/logs (look for the file with the most recent date on it). Stuck? Stop by the Gallery 3 Forums and ask for help. You can also look at our list of open tickets to see if the problem you're seeing has been reported. If you post a request, here's some useful information to include:
Platform information

Host name: srv44.hosting24.com
Operating system: Linux 2.6.32-379.14.1.lve1.1.9.9.el6.x86_64
Apache: Apache
PHP: 5.2.17
MySQL: 5.1.68-cll
Server load: 2.81 3.2 3.64
Graphics toolkit: gd

Gallery stats

Version: 3.0.5 (Daydreaming)
Albums: 0
Photos: 0

ORM_Validation_Exception [ Database Error ]: ORM Validation has failed for items model

SYSPATH/libraries/ORM_Validation_Exception.php[ 20 ]
15 * @param Validation $array 16 * @return 17 */ 18 public static function handle_validation($table, Validation $array) 19 { 20 $exception = new ORM_Validation_Exception('ORM Validation has failed for :table model',array(':table'=>$table)); 21 $exception->validation = $array; 22 throw $exception; 23 } 24} // End ORM_Validation_Exception

SYSPATH/libraries/ORM.php[ 755 ] » ORM_Validation_Exception_Core::handle_validation( arguments )

MODPATH/gallery/models/item.php[ 886 ] » ORM_Core->validate( arguments )

SYSPATH/libraries/ORM.php[ 778 ] » Item_Model_Core->validate()

MODPATH/gallery/libraries/MY_ORM.php[ 34 ] » ORM_Core->save()

MODPATH/gallery/libraries/ORM_MPTT.php[ 76 ] » ORM->save()

MODPATH/gallery/models/item.php[ 390 ] » ORM_MPTT_Core->save()

MODPATH/gallery/controllers/albums.php[ 133 ] » Item_Model_Core->save()

{PHP internal call} » Albums_Controller->create( arguments )

SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )

SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments )

APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )

DOCROOT/index.php[ 116 ] » require( arguments )

Environment

and here is the LOGS from VAR/ dir

Quote:
<?php defined('SYSPATH') or die('No direct script access.'); ?>

2013-03-06 05:46:46 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:48:28 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:48:28 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:50:11 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:51:13 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:52:05 +00:00 --- error: ORM_Validation_Exception [ 44 ]: ORM Validation has failed for items model
/home/kalyehit/public_html/gallery/system/libraries/ORM_Validation_Exception.php [ 20 ]
#0 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(886): ORM_Core->validate(NULL)
#2 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(778): Item_Model_Core->validate()
#3 /home/kalyehit/public_html/gallery/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save()
#4 /home/kalyehit/public_html/gallery/modules/gallery/libraries/ORM_MPTT.php(76): ORM->save()
#5 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(390): ORM_MPTT_Core->save()
#6 /home/kalyehit/public_html/gallery/modules/gallery/controllers/albums.php(133): Item_Model_Core->save()
#7 [internal function]: Albums_Controller->create('1')
#8 /home/kalyehit/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#9 /home/kalyehit/public_html/gallery/system/core/Event.php(208): Kohana_Core::instance(NULL)
#10 /home/kalyehit/public_html/gallery/application/Bootstrap.php(67): Event_Core::run(Array, Array)
#11 /home/kalyehit/public_html/gallery/index.php(116): require('/home/kalyehit/...')
#12 {main}
2013-03-06 05:52:05 +00:00 --- error: Validation errors: Array
(
[slug] => reserved
)

2013-03-06 05:52:38 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:52:38 +00:00 --- error: ORM_Validation_Exception [ 44 ]: ORM Validation has failed for items model
/home/kalyehit/public_html/gallery/system/libraries/ORM_Validation_Exception.php [ 20 ]
#0 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(886): ORM_Core->validate(NULL)
#2 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(778): Item_Model_Core->validate()
#3 /home/kalyehit/public_html/gallery/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save()
#4 /home/kalyehit/public_html/gallery/modules/gallery/libraries/ORM_MPTT.php(76): ORM->save()
#5 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(390): ORM_MPTT_Core->save()
#6 /home/kalyehit/public_html/gallery/modules/gallery/controllers/albums.php(133): Item_Model_Core->save()
#7 [internal function]: Albums_Controller->create('1')
#8 /home/kalyehit/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#9 /home/kalyehit/public_html/gallery/system/core/Event.php(208): Kohana_Core::instance(NULL)
#10 /home/kalyehit/public_html/gallery/application/Bootstrap.php(67): Event_Core::run(Array, Array)
#11 /home/kalyehit/public_html/gallery/index.php(116): require('/home/kalyehit/...')
#12 {main}
2013-03-06 05:52:38 +00:00 --- error: Validation errors: Array
(
[slug] => reserved
)

2013-03-06 05:53:02 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:53:36 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:54:06 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:54:23 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:54:23 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:54:26 +00:00 --- error: date.timezone setting not detected in /usr/local/lib/php.ini falling back to UTC. Consult http://php.net/manual/function.get-cfg-var.php for help.
2013-03-06 05:54:45 +00:00 --- error: ORM_Validation_Exception [ 44 ]: ORM Validation has failed for items model
/home/kalyehit/public_html/gallery/system/libraries/ORM_Validation_Exception.php [ 20 ]
#0 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(755): ORM_Validation_Exception_Core::handle_validation('items', Object(Validation))
#1 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(886): ORM_Core->validate(NULL)
#2 /home/kalyehit/public_html/gallery/system/libraries/ORM.php(778): Item_Model_Core->validate()
#3 /home/kalyehit/public_html/gallery/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save()
#4 /home/kalyehit/public_html/gallery/modules/gallery/libraries/ORM_MPTT.php(76): ORM->save()
#5 /home/kalyehit/public_html/gallery/modules/gallery/models/item.php(390): ORM_MPTT_Core->save()
#6 /home/kalyehit/public_html/gallery/modules/gallery/controllers/albums.php(133): Item_Model_Core->save()
#7 [internal function]: Albums_Controller->create('1')
#8 /home/kalyehit/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#9 /home/kalyehit/public_html/gallery/system/core/Event.php(208): Kohana_Core::instance(NULL)
#10 /home/kalyehit/public_html/gallery/application/Bootstrap.php(67): Event_Core::run(Array, Array)
#11 /home/kalyehit/public_html/gallery/index.php(116): require('/home/kalyehit/...')
#12 {main}
2013-03-06 05:54:45 +00:00 --- error: Validation errors: Array
(
[slug] => reserved
)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-03-06 07:38

I don't think you cleared the DB with the new install or did not use a new DB?
Don't know why you would get a error if you started over again like your first step.
I don't know. You seem to jump about in your troubleshooting and it is hard to follow.

your error wrote:
Graphics toolkit: gd

Try another as was suggested.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
zotek

Joined: 2011-10-05
Posts: 9
Posted: Wed, 2013-03-06 10:03

never mind i couldnt wait.and i was searching for another gallery and i found PIWIGO..and now i have no more isue..thank though