I'm trying to move my gallery to a new host (1and1). I was doing a clean install of 3.0.4 and tried to follow the steps in the host specific issues, however, I get the following error when I try to go to the admin dashboard.
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: Linux infong 2.4 #1 SMP Tue Jan 17 02:58:41 UTC 2012 i686 GNU/Linux
Operating system: Linux infong 2.4 #1 SMP Tue Jan 17 02:58:41 UTC 2012 i686 GNU/Linux Linux infong 2.4 #1 SMP Tue Jan 17 02:58:41 UTC 2012 i686 GNU/Linux
Apache: Unknown
PHP: 5.2.17
MySQL: 5.0.91-log
Server load: 1.74 4.26 3.75
Graphics toolkit: imagemagick
Gallery stats
Version: 3.0.4 (Ricochet)
Albums: 0
Photos: 0
Kohana_Exception [ Framework Error ]:
The requested views, admin.html, could not be found
SYSPATH/core/Kohana.php[ 810 ]
805 if ($found === NULL)
806 {
807 if ($required === TRUE)
808 {
809 // If the file is required, throw an exception
810 throw new Kohana_Exception('The requested :resource:, :file:, could not be found', array(':resource:' => __($directory), ':file:' =>$filename));
811 }
812 else
813 {
814 // Nothing was found, return FALSE
815 $found = FALSE;
SYSPATH/libraries/View.php[ 83 ] » Kohana_Core::find_file( arguments )
directory
string(5) "views"
filename
string(10) "admin.html"
required
bool TRUE
SYSPATH/libraries/View.php[ 49 ] » View_Core->set_filename( arguments )
name
string(10) "admin.html"
type
NULL
MODPATH/gallery/libraries/MY_View.php[ 62 ] » View_Core->__construct( arguments )
name
string(10) "admin.html"
data
NULL
type
NULL
MODPATH/gallery/libraries/Admin_View.php[ 30 ] » View->__construct( arguments )
name
string(10) "admin.html"
MODPATH/gallery/controllers/admin_dashboard.php[ 22 ] » Admin_View_Core->__construct( arguments )
name
string(10) "admin.html"
{PHP internal call} » Admin_Dashboard_Controller->index()
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)
{PHP internal call} » Admin_Controller->__call( arguments )
controller_name
string(5) "index"
args
array(0)
SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )
object
array(1) (
"private: theme" => NULL
)
args
array(2) (
0 => string(5) "index"
1 => array(0)
)
{PHP internal call} » Kohana_Core::instance( arguments )
0
NULL
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
)
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
name
string(14) "system.execute"
DOCROOT/index.php[ 113 ] » require( arguments )
0
string(57) "/homepages/21/d423024508/htdocs/application/Bootstrap.php"
Posts: 27300
http://codex.gallery2.org/Gallery3:Host_specific_issues#1_.26_1
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16
Yes, as I said I followed those steps without success.
Posts: 27300
It has worked for others and I don't have that host so can't offer more.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Did you edit the ,htaccess file?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16
I created a .htaccess file, there wasn't one there to start with.
Posts: 27300
G3 ships with a .htaccess file. Then you need to edit it as the directions show.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16
That did it, thanks, somehow I managed to delete the one it shipped with.
Posts: 27300
If the direction in the FAQ need clarifying please suggest better wording.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team