error message Kohana_404_Exception [ Page Not Found ]: The page you requested, admin/albums/1, could not be found.

Piers2
Piers2's picture

Joined: 2013-02-26
Posts: 2
Posted: Tue, 2013-02-26 21:25

Hello to one and all.

Not too sure what I am doing wrong but I got this message and I am also unable to upload fotos to the album I created.

"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:
remove Platform

Webhost: srv19.thewebhostserver.com
Operativsystem: Linux 2.6.32-379.1.1.lve1.1.7.6.el6.x86_64
Apache: Ukendt
PHP: 5.3.18
MySQL: 5.1.68-cll
Server load: 9,61 14,99 13,4
Grafikprogram: gd

remove Statistikker

Version: 3.0.5 (Daydreaming)
Album: 0
Billeder: 0

Kohana_404_Exception [ Page Not Found ]: The page you requested, admin/albums/1, could not be found.

MODPATH/gallery/controllers/admin.php[ 59 ]
54 } else { 55 $method = "index"; 56 } 57 58 if (!method_exists($controller_name, $method)) { 59 throw new Kohana_404_Exception(); 60 } 61 62 call_user_func_array(array(new $controller_name, $method), $args); 63 } 64

{PHP internt kald} » Admin_Controller->__call( argumenter )

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

{PHP internt kald} » Kohana_Core::instance( argumenter )

SYSPATH/core/Event.php[ 208 ] » call_user_func_array( argumenter )

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

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

Omgivelser"

Any suggestions as to what this is all about and how to solve it would be brilliant. I only just uploaded the G3 this morning before I went to work!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-02-27 04:25
 
Piers2
Piers2's picture

Joined: 2013-02-26
Posts: 2
Posted: Wed, 2013-02-27 20:01

Hej Dave and thank you for your quick responce, however, my host is using apache 2.2.23 so it must be down to something else or .....? Here is the info from my C panel if it is of any help? Thank you so much!

"Disk Space Usage 255.68 / 15,000 MB
Monthly Bandwidth Transfer 602.26 / 200,000 MB
Email Accounts 0 / ∞
Subdomains 2 / ∞
Parked Domains 0 / ∞
Addon Domains 1 / ∞
FTP Accounts 2 / ∞
Mailing Lists 0 / ∞
All SQL Databases 2 / ∞
MySQL Databases 2
MySQL Disk Space 2.21 MB
Mailing List Disk Space 0 MB
Hosting package Platin
Server Name srv19
cPanel Version 11.36.0 (build 10)
Theme x3
Apache version 2.2.23
PHP version 5.3.21
MySQL version 5.1.68-cll
Architecture x86_64
Operating system linux
Shared IP Address 213.5.177.178
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Perl version 5.10.1
Kernel version 2.6.32-379.1.1.lve1.1.7.6.el6.x86_64
cPanel Pro 1.0 (RC1)
Service Status Click to View"

And here is the stuff from the logs file.

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

2013-02-26 18:06:28 +00:00 --- error: Database_Exception [ 44 ]: #1062: Duplicate entry 'Registered users' for key 'name' [ INSERT INTO `gal_groups`
(`name`)
VALUES ('Registered users') ]
/home/friendst/public_html/myfotos.dk/system/libraries/Database_Mysqli_Result.php [ 27 ]
#0 /home/friendst/public_html/myfotos.dk/system/libraries/Database_Mysqli.php(79): Database_Mysqli_Result_Core->__construct(false, 'INSERT INTO `ga...', Object(mysqli), true)
#1 /home/friendst/public_html/myfotos.dk/system/libraries/Database.php(272): Database_Mysqli_Core->query_execute('INSERT INTO `ga...')
#2 /home/friendst/public_html/myfotos.dk/modules/gallery/libraries/MY_Database.php(48): Database_Core->query('INSERT INTO `ga...')
#3 /home/friendst/public_html/myfotos.dk/system/libraries/Database_Builder.php(973): Database->query('INSERT INTO `ga...')
#4 /home/friendst/public_html/myfotos.dk/system/libraries/ORM.php(823): Database_Builder_Core->execute(Object(Database_Mysqli))
#5 /home/friendst/public_html/myfotos.dk/modules/gallery/libraries/MY_ORM.php(34): ORM_Core->save()
#6 /home/friendst/public_html/myfotos.dk/modules/user/models/group.php(65): ORM->save()
#7 /home/friendst/public_html/myfotos.dk/modules/user/controllers/admin_users.php(229): Group_Model_Core->save()
#8 [internal function]: Admin_Users_Controller->add_group()
#9 /home/friendst/public_html/myfotos.dk/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#10 [internal function]: Admin_Controller->__call('users', Array)
#11 /home/friendst/public_html/myfotos.dk/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#12 [internal function]: Kohana_Core::instance(NULL)
#13 /home/friendst/public_html/myfotos.dk/system/core/Event.php(208): call_user_func_array(Array, Array)
#14 /home/friendst/public_html/myfotos.dk/application/Bootstrap.php(67): Event_Core::run('system.execute')
#15 /home/friendst/public_html/myfotos.dk/index.php(116): require('/home/friendst/...')
#16 {main}
2013-02-26 18:13:32 +00:00 --- error: File not found: simple_uploader%2Fapp%2F1
2013-02-26 18:13:46 +00:00 --- error: File not found: simple_uploader%2Fapp%2F1
2013-02-26 20:46:00 +00:00 --- error: File not found: admin%2Falbums%2F1
2013-02-26 21:20:10 +00:00 --- error: File not found: admin%2Falbums%2F1"

And the previouse log file also has an error message.

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

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-02-27 21:26
Quote:
error: Database_Exception [ 44 ]: #1062: Duplicate entry 'Registered users' for key 'name' [ INSERT INTO `gal_groups`
(`name`)

If you only have a few items it might be easier to just start over with a clean DB. looks to me like one of your tables is corrupt. If you have lots of items then use your DB admin tool to see if you can use its automatic fix table function.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team