You are not logged in.
I did a full install of 0.80, but when I try to do the install, I only get a blank page. I raised the mem limit (as suggested in the other topic), but that didn't help. I still get the blank page.
I removed 0.80 and did a fresh install of 0.78.5 and that worked perfect.
I then tried an upgrade from 0.78.5 to 0.80 but now I get an error when it tries to update the database:
Fatal error: Cannot use string offset as an array in /path_to_my_install/install/update.php on line 841
How can I fix this?
Last edited by frankske_699 (2011-05-29 23:34:10)
Offline
Could you give use more informations about your environnement ?
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
The line is giving error (841) in my update GLPI to 0.80.0, is this:
echo "<br><h3>".$LANG['install'][4]."</h3>";
What is wrong with this line? What must I do to upgrade to the 0.80.0 is completed successfully? Please help me. Thanks.
Offline
In glpi/locales/ have you the file en_GB.php ?
and pt_BR.php for carlos.costa
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Yes. The two languages are in the folder locales.
Offline
Hey you,
Today, I have updated my glpi and I got the same error. After some checks, I have updated my PHP to 5.3 and the problem was solved.
I hope that help you.
br,
thiago
Offline
Same problem here upgrading from 0.78.5
I'm on centos 5.6 wiyj php 5.1 but I can't upgrade to 5.3
Any Idea how to solve it?
thank you
Luca
Offline
Edit /locales/your_locale.php and insert "global $LANG" as a line before $LANG=array();
Offline
Edit /locales/your_locale.php and insert "global $LANG" as a line before $LANG=array();
If I do this change I've the following error:
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /var/www/html/glpi/locales/en_GB.php on line 32
L.
Offline
Sorry "global $LANG;" instead of "global $LANG". Note the semicolon.
Offline
Sorry "global $LANG;" instead of "global $LANG". Note the semicolon.
GREAT!..!
Problema solved!..
thank you
Luca
Offline
Humm i think that the real problem comes from the install.php file
Could you please test another one with this modification :
// load language
function loadLang($LANGuage) {
if (isset($LANG)){
unset($LANG);
}
global $LANG;
....
The actual file unset the $lang at the wrong time...
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline