ERROR After Installing

storm15

Joined: 2011-03-29
Posts: 4
Posted: Tue, 2011-03-29 12:56

Hey there,

I am trying to install Gallery2 2.3.1 with Alfahosting. At Step 8 and 9 were a few problems, at step 8 it said that the memory-limit was exhausted, I tried this step again and it worked. At step 9 I can not install any Plugin.
Here the error:

Error (ERROR_MISSING_VALUE)

* in install/steps/InstallOtherModulesStep.class at line 268 (gallerycoreapi::error)
* in install/steps/InstallOtherModulesStep.class at line 233 (installothermodulesstep::_selectadminuser)
* in install/steps/InstallOtherModulesStep.class at line 33 (installothermodulesstep::_init)
* in install/index.php at line 164 (installothermodulesstep::processrequest)

Error (ERROR_MISSING_VALUE)

* in install/steps/InstallOtherModulesStep.class at line 268 (gallerycoreapi::error)
* in install/steps/InstallOtherModulesStep.class at line 43 (installothermodulesstep::_selectadminuser)
* in install/index.php at line 164 (installothermodulesstep::processrequest)

And:

Installation zu 70% fertig
Unsere Gallery-Sitzung konnte nicht initialisiert werden Unsere Gallery-Sitzung konnte nicht initialisiert werden
Error (ERROR_MISSING_VALUE)

* in install/steps/InstallOtherModulesStep.class at line 268 (gallerycoreapi::error)
* in install/steps/InstallOtherModulesStep.class at line 233 (installothermodulesstep::_selectadminuser)
* in install/steps/InstallOtherModulesStep.class at line 33 (installothermodulesstep::_init)
* in install/index.php at line 164 (installothermodulesstep::processrequest)

Error (ERROR_MISSING_VALUE)

* in install/steps/InstallOtherModulesStep.class at line 268 (gallerycoreapi::error)
* in install/steps/InstallOtherModulesStep.class at line 43 (installothermodulesstep::_selectadminuser)
* in install/index.php at line 164 (installothermodulesstep::processrequest)

Plugins installieren
Fehler-Ausgabe

getParameter id.adminGroup for core plugin

(mysqlt): SET NAMES "utf8"

(mysqlt):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0

(mysqlt):
SELECT
g2_UserGroupMap.g_userId,
g2_User.g_userName
FROM
g2_UserGroupMap, g2_User
WHERE
g2_UserGroupMap.g_groupId = 0
AND
g2_UserGroupMap.g_userId = g2_User.g_id

ORDER BY
g2_User.g_userName
LIMIT 1

realpath(/var/www/web1279/html/gallery2/gallery2/modules/core/classes/../../../)
realpath(/var/www/web1279/html/gallery2/gallery2/)
getParameter id.adminGroup for core plugin

(mysqlt):
SELECT
g2_UserGroupMap.g_userId,
g2_User.g_userName
FROM
g2_UserGroupMap, g2_User
WHERE
g2_UserGroupMap.g_groupId = 0
AND
g2_UserGroupMap.g_userId = g2_User.g_id

ORDER BY
g2_User.g_userName
LIMIT 1

realpath(/var/www/web1279/html/gallery2/gallery2/modules/core/classes/../../../)
realpath(/var/www/web1279/html/gallery2/gallery2/)

I looked it up and found that I can skip this step by clicking on "without activating plugins".
So I did and the next steps were all right, too.
But after clicking on "go to my gallery" a white page with "ERROR" (no error code!) came up.

Does anyone know how to fix it?
Thank You,

Storm

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-03-29 13:54

Post a link to phpinfo:FAQ: How do I create a phpinfo page?

____________________________________________
Like Gallery? Like the support? Donate now!

 
storm15

Joined: 2011-03-29
Posts: 4
Posted: Tue, 2011-03-29 14:07
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2011-03-29 15:50

Short answer. Find a new host. For about a dozen reasons I can think of. If you won't do that and want to battle with them.

You need to increase the memory limit to 32M from 16M
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

That's just to start....

I have a feeling with a host who's running such old software and has so many restrictions you're going to run into other issues. This announcement is from August, 2008
http://www.php.net/archive/2008.php#id2008-08-07-1

Since you can't use exec, you can't use ImageMagick or any external binaries so you'll be forced to use GD for your image processing toolkit which uses more memory inside of PHP. Basically even with 32M of memory available to PHP and probably around 10-12M just being used by Gallery and PHP to begin with at idle, you'll only be able to upload about 1.5M - 2M files.
____________________________________________
Like Gallery? Like the support? Donate now!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2011-03-29 15:52

Your host only allows php to use a tiny 16mb of memory, is running an ancient, bug filled and insecure version of php and on top of that, has installed the "more-trouble-than-it-is-worth-and-out-of-date-anyway" PHP Suhosin Patch in a futile attempt to cover the security holes.

My advice to you is to visit webhostingtalk.com and ask for recommendations for a new host.

--
dakanji.com