Nejste přihlášeni
Stránky 1
Zdravim
chtel jsem si nainstalovat foto album Gallerie 3.0.1
zadal jsem spravnou db vcetne hesla ale je mozne ze mate asi kvuli bezpecnosti nejak nastaveni system a tato foto galerie tam nejde spustit.
Diky D.
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: klokanek.miton.cz
* Operating system: Linux 2.6.18-194.32.1.el5
* Apache: Unknown
* PHP: 5.3.5
* MySQL: 5.1.53-log
* Server load: 1.28 1.35 1.62
* Graphics toolkit: gd
Gallery stats
* Version: 3.0.1 (Menlo Park)
* Albums: 0
* Photos: 0
Kohana_Exception [ Framework Error ]: Invalid method increment_view_count called in Item_Model
1.
SYSPATH/libraries/ORM.php[ 269 ]
264 265 return $this; 266 } 267 else 268 { 269 throw new Kohana_Exception('Invalid method :method called in :class', 270 array(':method' => $method, ':class' => get_class($this))); 271 } 272 } 273 274 /**
2.
MODPATH/gallery/controllers/albums.php[ 75 ] » ORM_Core->__call( arguments )
method
string(20) "increment_view_count"
args
array(0)
70 "children" => $album->viewable()->children($page_size, $offset),
71 "parents" => $album->parents()->as_array(), // view calls empty() on this
72 "children_count" => $children_count));
73 $template->content = new View("album.html");
74
75 $album->increment_view_count();
76
77 print $template;
78 }
79
80 public function create($parent_id) {
3.
MODPATH/gallery/controllers/albums.php[ 75 ] » Item_Model->increment_view_count()
70 "children" => $album->viewable()->children($page_size, $offset),
71 "parents" => $album->parents()->as_array(), // view calls empty() on this
72 "children_count" => $children_count));
73 $template->content = new View("album.html");
74
75 $album->increment_view_count();
76
77 print $template;
78 }
79
80 public function create($parent_id) {
4.
MODPATH/gallery/controllers/albums.php[ 22 ] » Albums_Controller->show( arguments )
album
array(35) (
"protected: children" => string(5) "items"
"protected: sorting" => array(0)
"protected: data_file" => NULL
"private: model_name" => string(4) "item"
"protected: has_one" => array(0)
"protected: belongs_to" => array(0)
"protected: has_many" => array(0)
"protected: has_and_belongs_to_many" => array(0)
"protected: has_many_through" => array(0)
"protected: load_with" => array(0)
"protected: object" => array(33) (
"id" => string(1) "1"
"album_cover_item_id" => NULL
"captured" => NULL
"created" => string(10) "1301056898"
"description" => string(0) ""
"height" => NULL
"left_ptr" => string(1) "1"
"level" => string(1) "1"
"mime_type" => NULL
"name" => NULL
"owner_id" => string(1) "2"
"parent_id" => string(1) "0"
"rand_key" => NULL
"relative_path_cache" => string(0) ""
"relative_url_cache" => string(0) ""
"resize_dirty" => string(1) "1"
"resize_height" => NULL
"resize_width" => NULL
"right_ptr" => string(1) "2"
"slug" => NULL
"sort_column" => string(6) "weight"
"sort_order" => string(3) "ASC"
"thumb_dirty" => string(1) "1"
"thumb_height" => NULL
"thumb_width" => NULL
"title" => string(7) "Gallery"
"type" => string(5) "album"
"updated" => string(10) "1301056898"
"view_count" => string(1) "0"
"weight" => string(1) "1"
"width" => NULL
"view_1" => string(1) "1"
"view_2" => string(1) "1"
)
"protected: changed" => array(0)
"protected: related" => array(0)
"protected: _valid" => bool FALSE
"protected: _loaded" => bool TRUE
"protected: _saved" => bool TRUE
"protected: rules" => array(0)
"protected: object_relations" => array(0)
"protected: changed_relations" => array(0)
"protected: object_name" => string(4) "item"
"protected: object_plural" => string(5) "items"
"protected: table_name" => string(5) "items"
"protected: table_columns" => array(33) (
"id" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool TRUE
)
"album_cover_item_id" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"captured" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"created" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"description" => array(5) (
"type" => string(6) "string"
"sql_type" => string(4) "text"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"height" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"left_ptr" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"level" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"mime_type" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(2) "64"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"name" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(3) "255"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"owner_id" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"parent_id" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"rand_key" => array(9) (
"type" => string(5) "float"
"exact" => bool TRUE
"sql_type" => string(7) "decimal"
"length" => string(5) "11,10"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
"scale" => string(2) "10"
"precision" => string(2) "11"
)
"relative_path_cache" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(3) "255"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"relative_url_cache" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(3) "255"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"resize_dirty" => array(8) (
"type" => string(3) "int"
"min" => integer -128
"max" => integer 127
"sql_type" => string(7) "tinyint"
"length" => string(1) "1"
"default" => string(1) "1"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"resize_height" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"resize_width" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"right_ptr" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"slug" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(3) "255"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"sort_column" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(2) "64"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"sort_order" => array(7) (
"type" => string(6) "string"
"exact" => bool TRUE
"sql_type" => string(4) "char"
"length" => string(1) "4"
"default" => string(3) "ASC"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"thumb_dirty" => array(8) (
"type" => string(3) "int"
"min" => integer -128
"max" => integer 127
"sql_type" => string(7) "tinyint"
"length" => string(1) "1"
"default" => string(1) "1"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"thumb_height" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"thumb_width" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"title" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(3) "255"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"type" => array(6) (
"type" => string(6) "string"
"sql_type" => string(7) "varchar"
"length" => string(2) "32"
"default" => NULL
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"updated" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"view_count" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => string(1) "0"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"weight" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => string(1) "0"
"nullable" => bool FALSE
"sequenced" => bool FALSE
)
"width" => array(8) (
"type" => string(3) "int"
"min" => integer -2147483648
"max" => integer 2147483647
"sql_type" => string(3) "int"
"length" => string(1) "9"
"default" => NULL
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"view_1" => array(8) (
"type" => string(6) "string"
"binary" => bool TRUE
"exact" => bool TRUE
"sql_type" => string(6) "binary"
"length" => string(1) "1"
"default" => string(1) "0"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
"view_2" => array(8) (
"type" => string(6) "string"
"binary" => bool TRUE
"exact" => bool TRUE
"sql_type" => string(6) "binary"
"length" => string(1) "1"
"default" => string(1) "0"
"nullable" => bool TRUE
"sequenced" => bool FALSE
)
)
"protected: ignored_columns" => NULL
"protected: updated_column" => NULL
"protected: created_column" => NULL
"protected: primary_key" => string(2) "id"
"protected: primary_val" => string(4) "name"
"protected: foreign_key" => array(0)
"protected: table_names_plural" => bool TRUE
"protected: reload_on_wakeup" => bool TRUE
"protected: db (type: Database_Mysqli)" => string(52) "Database_Mysqli object - details omitted for display"
"protected: db_applied" => array(5) (
"merge_where" => string(11) "merge_where"
"where" => string(5) "where"
"order_by" => string(8) "order_by"
"limit" => string(5) "limit"
"offset" => string(6) "offset"
)
"protected: db_builder (type: Database_Builder)" => array(18) (
"protected: order_directions" => array(3) (
0 => string(3) "ASC"
1 => string(4) "DESC"
2 => string(6) "RAND()"
)
"protected: db (type: Database_Mysqli)" => string(52) "Database_Mysqli object - details omitted for display"
"protected: select" => array(0)
"protected: from" => array(0)
"protected: join" => array(0)
"protected: where" => array(0)
"protected: group_by" => array(0)
"protected: having" => array(0)
"protected: order_by" => array(0)
"protected: limit" => NULL
"protected: offset" => NULL
"protected: set" => array(0)
"protected: columns" => array(0)
"protected: values" => array(0)
"protected: type" => NULL
"protected: distinct" => bool FALSE
"protected: reset" => bool TRUE
"protected: ttl" => bool FALSE
)
"protected: with_applied" => array(0)
)
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20class Albums_Controller extends Items_Controller {
21 public function index() {
22 $this->show(ORM::factory("item", 1));
23 }
24
25 public function show($album) {
26 if (!is_object($album)) {
27 // show() must be public because we route to it in url::parse_url(), so make
5.
{PHP internal call} » Albums_Controller->index()
6.
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )
object
array(0)
args
array(0)
326
327 // Start the controller execution benchmark
328 Benchmark::start(SYSTEM_BENCHMARK.'_controller_execution');
329
330 // Execute the controller method
331 $method->invokeArgs($controller, $arguments);
332
333 // Controller method has been executed
334 Event::run('system.post_controller');
335
336 // Stop the controller execution benchmark
7.
{PHP internal call} » Kohana_Core::instance( arguments )
0
NULL
8.
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
function_name
array(2) (
0 => string(6) "Kohana"
1 => string(8) "instance"
)
parameters
array(1) (
0 => NULL
)
203 Event::$data =& $data;
204 $callbacks = Event::get($name);
205
206 foreach ($callbacks as $callback)
207 {
208 call_user_func_array($callback, array(&$data));
209 }
210
211 // Do this to prevent data from getting 'stuck'
212 $clear_data = '';
213 Event::$data =& $clear_data;
9.
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
name
string(14) "system.execute"
62
63// End system_initialization
64Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization');
65
66// Make the magic happen!
67Event::run('system.execute');
10.
DOCROOT/index.php[ 102 ] » require( arguments )
0
string(70) "/home/users/dennynet/chmelnice.net/web/album/application/Bootstrap.php"
97if (file_exists("local.php")) {
98 include("local.php");
99}
100
101// Initialize.
102require APPPATH . "Bootstrap" . EXT;
Environment
Offline
uz jsem to vyresil
na strankach vyrobce byl kde stazeni soubor "item.php" snad pry pro vetsi bezpecnost ale jaksi negungoval
tak jsem tam nahral ten puvodni item.php
D.
Offline
Stránky 1