1and1- had it, lost it- Install seems to work, then can't get in.

markdes

Joined: 2013-01-11
Posts: 3
Posted: Fri, 2013-01-11 22:56

Hi there-

Looking for some help. Several months ago I managed to get Gallery up and running on my basic 1and1 server... can't remember exactly what I did though (yes, I know, bad notes). Had to solve some tagging issues on my local database- finally got that all straightened out- upgraded to an unlimited account to get enough space, which caused a server change, and that is when my troubles started.

I trashed the initial install and started over. I tried a basic instal, l and then walked very carefully through the info here-

http://codex.gallery2.org/Gallery3:Host_specific_issues#1_.26_1

but when I hit "Start using Gallery" (everything looks good up till then) I am getting exactly the same result, a Dang... Something went wrong!. No info on that window though, it ends with "here's some useful information to include:"

This is what is in my logfile-

2013-01-10 20:58:46 -05:00 --- error: Kohana_Exception [ 42 ]: The requested views, page.html, could not be found
/homepages/11/d90169652/htdocs/pages/gallery3/system/core/Kohana.php [ 806 ]
#0 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/View.php(83): Kohana_Core::find_file('views', 'page.html', true)
#1 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/View.php(49): View_Core->set_filename('page.html', NULL)
#2 /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/libraries/MY_View.php(62): View_Core->__construct('page.html', NULL, NULL)
#3 /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/libraries/Theme_View.php(32): View->__construct('page.html')
#4 /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/controllers/albums.php(63): Theme_View_Core->__construct('page.html', 'collection', 'album')
#5 /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#6 [internal function]: Albums_Controller->index()
#7 /homepages/11/d90169652/htdocs/pages/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#8 [internal function]: Kohana_Core::instance(NULL)
#9 /homepages/11/d90169652/htdocs/pages/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /homepages/11/d90169652/htdocs/pages/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#11 /homepages/11/d90169652/htdocs/pages/gallery3/index.php(102): require('/homepages/11/d...')
#12 {main}

A couple more details-

My php info from 1and1 looks like this:

Database name : db450173554
Host name : db450173554.db.1and1.com
Port : 3306
User name : dbo450173554
Description : gallery3
Version : MySQL5.0

So I put it in database.php like this:

$config['default'] = array(
'benchmark' => false,
'persistent' => false,
'connection' => array(
'type' => 'mysqli',
'user' => 'XXXXXX',
'pass' => 'XXXXXX',
'host' => 'XXXXXX',
'port' => 'XXXXXX',
'socket' => false,
'database' => 'XXXXXX',
'params' => null,
),

Where the pass field gets the password that I used when I created the php database. I have no idea what to put in the socket field that is populated in the Host specific instructions, and my host field is also formatted differently- the whole localhost thing does not seem to work.

I can get into the php database ok, and have looked at some of the fields- the theme settings are set to wind, which is about all I could find as an issue when people reported the pages.html error.

This is super frustrating, because I had it working.... Help me, Obi-wan!

Thanks

Markd

 
markdes

Joined: 2013-01-11
Posts: 3
Posted: Sat, 2013-01-12 00:31

Ok, so I guess it is not possible to post some of this? Auto x-out...

$config['default'] = array(
  'benchmark'     => false,
  'persistent'    => false,
  'connection'    => array(
    'type'     => 'mysqli',
    'user'     => 'XXXXXX',
    'pass'     => 'XXXXXX',
    'host'     => 'XXXXXX',
    'port'     => 'XXXXXX',
    'socket'   => false,
    'database' => 'XXXXXX',
    'params'   => null,
 
markdes

Joined: 2013-01-11
Posts: 3
Posted: Sun, 2013-01-13 13:32

Found the entry on how to get debug info directly- this is what it spits out-

Strict Standards: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /homepages/11/d90169652/htdocs/pages/gallery3/local.php on line 4
Kohana_PHP_Exception [ 2 ]: Cannot modify header information - headers already sent by (output started at /homepages/11/d90169652/htdocs/pages/gallery3/local.php:4) /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/views/kohana/error.php [ 45 ] #0 [internal function]: Kohana_PHP_Exception_Core::error_handler(2, 'Cannot modify h...', '/homepages/11/d...', 45, Array) #1 /homepages/11/d90169652/htdocs/pages/gallery3/modules/gallery/views/kohana/error.php(45): header('HTTP/1.1 500 In...') #2 /homepages/11/d90169652/htdocs/pages/gallery3/system/core/Kohana_Exception.php(186): include('/homepages/11/d...') #3 [internal function]: Kohana_Exception_Core::handle(Object(Kohana_PHP_Exception)) #4 {main}
Notice: Undefined offset: 1 in /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/I18n.php on line 60

Fatal error: Uncaught exception 'Kohana_PHP_Exception' with message 'Undefined offset: 1' in /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/I18n.php:60 Stack trace: #0 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/I18n.php(60): Kohana_PHP_Exception_Core::error_handler(8, 'Undefined offse...', '/homepages/11/d...', 60, Array) #1 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/I18n.php(93): I18n_Core::get_text('Undefined offse...') #2 /homepages/11/d90169652/htdocs/pages/gallery3/system/core/Kohana_Exception.php(42): __('Undefined offse...', NULL) #3 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/Kohana_PHP_Exception.php(60): Kohana_Exception_Core->__construct('Undefined offse...') #4 /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/Kohana_PHP_Exception.php(95): Kohana_PHP_Exception_Core->__construct(8, 'Undefined offse...', '/homepages/11/d...', 60) #5 [internal function]: Kohana_PHP_Exception_Core::shutdown_handler(NULL) #6 /homepages/11/d901696 in /homepages/11/d90169652/htdocs/pages/gallery3/system/libraries/I18n.php on line 60

The debug entry specifically mentions that first timezone error as being a killer, so I have sent 1and1 an email to see if they can fix it. Does anyone see anything else I should be looking at?

Thanks

Markd