After installing I can't get into any admin funtions.

djeffries

Joined: 2010-12-03
Posts: 1
Posted: Sun, 2010-12-05 01:14

After installing Gallery 3.0 I get an error message whenever I try to access any Admin functions.

:-(
Dang... Something went wrong!
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: p3nlhssl021.shr.prod.phx3.secureserver.net
* Operating system: Linux 2.6.18-164.15.1.el5PAE
* Apache: Unknown
* PHP: 5.2.14
* MySQL: 5.0.91-log
* Server load: 2.09 2.10 2.09
* Graphics toolkit: imagemagick

Gallery stats

* Version: 3.0 (Santa Fe)
* Albums: 2
* Photos: 76

Kohana_Exception [ Framework Error ]: The requested views, admin.html, could not be found

1.

SYSPATH/core/Kohana.php[ 806 ]
801 if ($found === NULL) 802 { 803 if ($required === TRUE) 804 { 805 // If the file is required, throw an exception 806 throw new Kohana_Exception('The requested :resource:, :file:, could not be found', array(':resource:' => __($directory), ':file:' =>$filename)); 807 } 808 else 809 { 810 // Nothing was found, return FALSE 811 $found = FALSE;
2.

SYSPATH/libraries/View.php[ 83 ] » Kohana_Core::find_file( arguments )

directory

string(5) "views"

filename

string(10) "admin.html"

required

bool TRUE

78 public function set_filename($name, $type = NULL)
79 {
80 if ($type == NULL)
81 {
82 // Load the filename and set the content type
83 $this->kohana_filename = Kohana::find_file('views', $name, TRUE);
84 $this->kohana_filetype = EXT;
85 }
86 else
87 {
88 // Check if the filetype is allowed by the configuration

3.

SYSPATH/libraries/View.php[ 49 ] » View_Core->set_filename( arguments )

name

string(10) "admin.html"

type

NULL

44 public function __construct($name = NULL, $data = NULL, $type = NULL)
45 {
46 if (is_string($name) AND $name !== '')
47 {
48 // Set the filename
49 $this->set_filename($name, $type);
50 }
51
52 if (is_array($data) AND ! empty($data))
53 {
54 // Preload data using array_merge, to allow user extensions

4.

MODPATH/gallery/libraries/MY_View.php[ 56 ] » View_Core->__construct( arguments )

name

string(10) "admin.html"

data

NULL

type

NULL

51 * Override View_Core::__construct so that we can set the csrf value into all views.
52 *
53 * @see View_Core::__construct
54 */
55 public function __construct($name = NULL, $data = NULL, $type = NULL) {
56 parent::__construct($name, $data, $type);
57 $this->set_global("csrf", access::csrf_token());
58 }
59
60 /**
61 * Override View_Core::render so that we trap errors stemming from bad PHP includes and show a

5.

MODPATH/gallery/libraries/Admin_View.php[ 30 ] » View->__construct( arguments )

name

string(10) "admin.html"

25 * @param string $name view name
26 * @param string $theme_name view name
27 * @return void
28 */
29 public function __construct($name) {
30 parent::__construct($name);
31
32 $this->theme_name = module::get_var("gallery", "active_admin_theme");
33 if (identity::active_user()->admin) {
34 $this->theme_name = Input::instance()->get("theme", $this->theme_name);
35 }

6.

MODPATH/gallery/controllers/admin_dashboard.php[ 22 ] » Admin_View_Core->__construct( arguments )

name

string(10) "admin.html"

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 Admin_Dashboard_Controller extends Admin_Controller {
21 public function index() {
22 $view = new Admin_View("admin.html");
23 $view->page_title = t("Dashboard");
24 $view->content = new View("admin_dashboard.html");
25 $view->content->blocks = block_manager::get_html("dashboard_center");
26 $view->sidebar = "<div id=\"g-admin-dashboard-sidebar\">" .
27 block_manager::get_html("dashboard_sidebar") .

7.

{PHP internal call} » Admin_Dashboard_Controller->index()
8.

MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( arguments )

function_name

array(2) (
"0 (type: Admin_Dashboard_Controller)" => array(1) (
"private: theme" => NULL
)
1 => string(5) "index"
)

parameters

array(0)

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
65 private static function _reauth_check() {
66 $session = Session::instance();
67 $last_active_auth = $session->get("active_auth_timestamp", 0);

9.

{PHP internal call} » Admin_Controller->__call( arguments )

controller_name

string(5) "index"

args

array(0)

10.

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

object

array(1) (
"private: theme" => NULL
)

args

array(2) (
0 => string(5) "index"
1 => 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

11.

{PHP internal call} » Kohana_Core::instance( arguments )

0

NULL

12.

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;

13.

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');

14.

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

0

string(97) "/home/content/d/u/a/duanejeffries/html/huntersdistributors.com/gallery3/application/Bootstrap.php"

92if (file_exists("local.php")) {
93 include("local.php");
94}
95
96// Initialize.
97require APPPATH . "Bootstrap" . EXT;

Environment
Included files(106)

DOCROOT/index.php

APPPATH/Bootstrap.php

SYSPATH/core/Benchmark.php

SYSPATH/core/Event.php

SYSPATH/core/Kohana.php

SYSPATH/core/Kohana_Exception.php

MODPATH/gallery/libraries/MY_Kohana_Exception.php

SYSPATH/core/Kohana_Config.php

SYSPATH/libraries/drivers/Config.php

SYSPATH/libraries/drivers/Config/Array.php

APPPATH/config/config.php

SYSPATH/libraries/I18n.php

SYSPATH/libraries/Kohana_PHP_Exception.php

SYSPATH/config/locale.php

MODPATH/gallery/config/locale.php

MODPATH/gallery/hooks/init_gallery.php

SYSPATH/libraries/Database.php

MODPATH/gallery/libraries/MY_Database.php

SYSPATH/config/database.php

MODPATH/gallery/config/database.php

DOCROOT/var/database.php

SYSPATH/libraries/Database_Mysqli.php

SYSPATH/libraries/Database_Mysql.php

MODPATH/gallery/helpers/gallery_error.php

SYSPATH/libraries/Input.php

MODPATH/gallery/libraries/MY_Input.php

SYSPATH/helpers/text.php

SYSPATH/libraries/Kohana_Log.php

SYSPATH/config/log.php

SYSPATH/libraries/drivers/Log/File.php

SYSPATH/libraries/drivers/Log.php

MODPATH/gallery/config/log_file.php

MODPATH/gallery/libraries/Gallery_I18n.php

MODPATH/gallery/helpers/module.php

SYSPATH/libraries/Cache.php

SYSPATH/config/cache.php

MODPATH/gallery/config/cache.php

MODPATH/gallery/libraries/drivers/Cache/Database.php

SYSPATH/libraries/drivers/Cache.php

SYSPATH/helpers/db.php

SYSPATH/libraries/Database_Builder.php

MODPATH/kohana23_compat/libraries/MY_Database_Builder.php

SYSPATH/libraries/Database_Mysqli_Result.php

SYSPATH/libraries/Database_Result.php

SYSPATH/libraries/ORM.php

MODPATH/gallery/libraries/MY_ORM.php

SYSPATH/libraries/ORM_Iterator.php

MODPATH/gallery/models/module.php

SYSPATH/helpers/inflector.php

SYSPATH/config/inflector.php

SYSPATH/config/sql_types.php

MODPATH/gallery/helpers/model_cache.php

MODPATH/gallery/helpers/gallery.php

MODPATH/gallery/helpers/gallery_event.php

MODPATH/gallery/helpers/identity.php

MODPATH/gallery/libraries/IdentityProvider.php

MODPATH/user/config/identity.php

MODPATH/user/libraries/drivers/IdentityProvider/Gallery.php

MODPATH/gallery/libraries/drivers/IdentityProvider.php

SYSPATH/libraries/Session.php

SYSPATH/config/session.php

MODPATH/gallery/config/session.php

SYSPATH/libraries/drivers/Session/Database.php

SYSPATH/libraries/drivers/Session.php

SYSPATH/config/cookie.php

MODPATH/gallery/config/cookie.php

SYSPATH/helpers/cookie.php

MODPATH/user/models/user.php

MODPATH/gallery/libraries/SafeString.php

SYSPATH/helpers/request.php

MODPATH/gallery/helpers/theme.php

MODPATH/gallery/helpers/locales.php

MODPATH/user/helpers/user_event.php

MODPATH/comment/helpers/comment_event.php

MODPATH/organize/helpers/organize_event.php

MODPATH/rest/helpers/rest_event.php

MODPATH/search/helpers/search_event.php

MODPATH/slideshow/helpers/slideshow_event.php

MODPATH/tag/helpers/tag_event.php

SYSPATH/libraries/Router.php

SYSPATH/config/routes.php

MODPATH/gallery/config/routes.php

SYSPATH/helpers/url.php

MODPATH/gallery/helpers/MY_url.php

MODPATH/gallery/controllers/admin.php

SYSPATH/libraries/Controller.php

MODPATH/gallery/helpers/auth.php

MODPATH/gallery/controllers/admin_dashboard.php

MODPATH/gallery/libraries/Admin_View.php

MODPATH/gallery/libraries/Gallery_View.php

SYSPATH/libraries/View.php

MODPATH/gallery/libraries/MY_View.php

SYSPATH/helpers/arr.php

SYSPATH/messages/kohana/core.php

MODPATH/gallery/views/kohana/error.php

MODPATH/gallery/views/error_admin.html.php

MODPATH/gallery/helpers/gallery_block.php

MODPATH/gallery/libraries/Block.php

MODPATH/gallery/helpers/access.php

DOCROOT/themes/wind/views/block.html.php

MODPATH/gallery/views/admin_block_platform.html.php

SYSPATH/helpers/html.php

MODPATH/gallery/helpers/MY_html.php

MODPATH/gallery/models/item.php

MODPATH/gallery/libraries/ORM_MPTT.php

MODPATH/gallery/views/admin_block_stats.html.php

Loaded extensions(43)

date

libxml

openssl

pcre

zlib

bcmath

calendar

ctype

curl

dba

dom

hash

filter

ftp

gd

gettext

session

iconv

json

mbstring

mcrypt

mhash

mysql

SimpleXML

SPL

PDO

pdo_mysql

pdo_sqlite

pspell

Reflection

standard

mysqli

soap

SQLite

exif

tokenizer

wddx

xml

xmlreader

xmlwriter

xsl

zip

cgi-fcgi

$_SESSION
session_id

string(19) "removed for display"

total_hits

integer 358

_kf_flash_

array(0)

user_agent

string(110) "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)"

ip_address

string(13) "67.171.45.100"

last_activity

integer 1291511228

user

string(61) "User_Model object for "hdduane" - details omitted for display"

group_ids_timeout

integer 1291597619

csrf

string(19) "removed for display"

group_ids

array(2) (
0 => string(1) "1"
1 => string(1) "2"
)

active_auth_timestamp

integer 1291511228

admin_area_activity_timestamp

integer 1291511228

batch_level

integer 1

messages

array(1) (
0 => array(2) (
"0 (type: SafeString)" => array(2) (
"private: _raw_string" => string(30) "Successfully re-authenticated!"
"protected: _is_safe_html" => bool TRUE
)
1 => integer 1
)
)

$_COOKIE
cpg15x_data

string(148) "YTo0OntzOjI6IklEIjtzOjMyOiJmYjVlNTYyNGM3YTdiMmEwYjYzOGQxYzhkMmQ2YTE0YiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6 …"

163e1b318bfba7a5e13cec2e968955ce

string(19) "removed for display"

PHPSESSID

string(19) "removed for display"

g3sid

string(19) "removed for display"

$_SERVER
DOCUMENT_ROOT

string(38) "/home/content/d/u/a/duanejeffries/html"

GATEWAY_INTERFACE

string(7) "CGI/1.1"

HTTP_ACCEPT

string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"

HTTP_ACCEPT_CHARSET

string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7"

HTTP_ACCEPT_ENCODING

string(12) "gzip,deflate"

HTTP_ACCEPT_LANGUAGE

string(14) "en-us,en;q=0.5"

HTTP_CONNECTION

string(10) "keep-alive"

HTTP_COOKIE

string(19) "removed for display"

HTTP_HOST

string(23) "huntersdistributors.com"

HTTP_KEEP_ALIVE

string(3) "115"

HTTP_REFERER

string(64) "http://huntersdistributors.com/gallery3/index.php/reauthenticate"

HTTP_USER_AGENT

string(110) "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)"

PATH

string(28) "/bin:/usr/bin:/usr/local/bin"

PATH_INFO

string(25) "/gallery3/index.php/admin"

PATH_TRANSLATED

string(81) "/home/content/d/u/a/duanejeffries/html/huntersdistributors.com/gallery3/index.php"

PHPRC

string(38) "/home/content/d/u/a/duanejeffries/html"

QUERY_STRING

string(0) ""

RAILS_ENV

string(10) "production"

REDIRECT_STATUS

string(3) "200"

REMOTE_ADDR

string(13) "67.171.45.100"

REMOTE_PORT

string(4) "2944"

REQUEST_METHOD

string(3) "GET"

REQUEST_URI

string(25) "/gallery3/index.php/admin"

SCRIPT_FILENAME

string(81) "/home/content/d/u/a/duanejeffries/html/huntersdistributors.com/gallery3/index.php"

SCRIPT_NAME

string(19) "/gallery3/index.php"

SERVER_ADDR

string(12) "97.74.244.83"

SERVER_ADMIN

string(26) "support@supportwebsite.com"

SERVER_NAME

string(23) "huntersdistributors.com"

SERVER_PORT

string(2) "80"

SERVER_PROTOCOL

string(8) "HTTP/1.1"

SERVER_SIGNATURE

string(75) "<ADDRESS>Apache/1.3.33 Server at huntersdistributors.com Port 80</ADDRESS>
"

SERVER_SOFTWARE

string(6) "Apache"

SPI

string(4) "TRUE"

SUBDOMAIN_DOCUMENT_ROOT

string(62) "/home/content/d/u/a/duanejeffries/html/huntersdistributors.com"

PHP_SELF

string(25) "/gallery3/index.php/admin"

REQUEST_TIME

integer 1291511228

argv

array(0)

argc

integer 0

I tried to un-install and re-install but keep getting the same error message.

 
falcon109

Joined: 2010-10-18
Posts: 34
Posted: Tue, 2010-12-07 15:36

Possible the same problem what I got before...
http://gallery.menalto.com/node/98643

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Wed, 2010-12-15 01:15