Closed GoogleCodeExporter closed 9 years ago
>failed to open stream: No such file or directory in
/home/zdpo/myapp/glossword/gw_install/includes/DB.php
Try new file update_1.8.9-1.8.10.php
> 1047552
> So it is not true my setting is "0 MB".
This is 0 MB because there are 1024 bytes in one megabyte.
1024*1024 is 1048576 and 1024 bytes are missed here (1048576-1047552).
I've changed the requirements (in attached file).
However max_allowed_packet should be 16 MB if we are planing to work with BLOB
field
types.
Update files:
gw_install\views\install_.php
gw_install\views\update_1.8.9-1.8.10.php
Original comment by dmitry.s...@gmail.com
on 14 Jul 2008 at 12:01
Attachments:
max_allowed_packet has initial value - I increased it.
Anyway upgrade still do not work for me /var/log/httpd/error_log:
[Mon Jul 14 12:07:28 2008] [error] [client 127.0.0.1] PHP Fatal error: Call to
a
member function num_rows() on a non-object in
/home/zdpo/myapp/glossword/gw_install/includes/DB_driver.php on line 774,
referer:
http://level2/~zdpo/slovniky/gw_install/index.php?arg[action]=1.8.9-1.8.10&arg[i
l]=english&arg[target]=update
[Mon Jul 14 12:07:33 2008] [error] [client 127.0.0.1] PHP Fatal error: Call to
a
member function num_rows() on a non-object in
/home/zdpo/myapp/glossword/gw_install/includes/DB_driver.php on line 774,
referer:
http://level2/~zdpo/slovniky/gw_install/index.php?arg[action]=1.8.9-1.8.10&arg[i
l]=english&arg[target]=update
Original comment by zde...@gmail.com
on 14 Jul 2008 at 10:15
The script can't retrieve the list of database tables in case of unknown reason.
Add the code to file DB_driver.php, line 770:
print $sql;
Run update, SQL-request should appear on screen, like
SHOW TABLES FROM database.
Then, run these database requests manually with phpmyadmin.
Perhaps, the command "SHOW TABLES" is disabled for the current MySQL user.
Original comment by dmitry.s...@gmail.com
on 14 Jul 2008 at 4:43
Output is this:
SHOW TABLES FROM ``database``
When I run in mysql console I got this error message:
ERROR 1102 (42000): Incorrect database name ''
(problem is with that double `` - before and after database name)
I look at db_config.php and really there this wrong definitions:
define('GW_DB_DATABASE', '`database`');
Strange that it works in 1.8.9 ;-)
After correction of db_config.php, I was able to get to Step 3 of upgrade.
Unfortunately when I tried to go on main page I got this (page) information:
--------------------------
The installer is locked.
Before to run this script, you need to remove or rename the
/home/zdpo/myapp/glossword/gw_temp/install_lock.txt file. It can be done with
any
FTP-client software (Filezilla, FlashFXP, and others).
------------------------
When I removed install_lock.txt I can run upgrade/installation once again (with
the
same result).
/var/log/httpd/error_log:
[Mon Jul 14 21:03:03 2008] [error] [client 127.0.0.1] PHP Warning: Variable
passed
to each() is not an array or object in
/home/zdpo/myapp/glossword/inc/func.browse.inc.php on line 743
[Mon Jul 14 21:03:13 2008] [error] [client 127.0.0.1] PHP Warning: Variable
passed
to each() is not an array or object in
/home/zdpo/myapp/glossword/inc/func.browse.inc.php on line 743
Original comment by zde...@gmail.com
on 14 Jul 2008 at 7:10
> I was able to get to Step 3 of upgrade
The update is complete then.
> Unfortunately when I tried to go on main page
You don't need to do a further actions, update is complete and you may open the
main
page of Glossword (not the main page of the installer).
Add the code to file func.browse.inc.php:
line 743: prn_r( $arSql );
line 744: exit;
This is inside function getSettings();
Original comment by dmitry.s...@gmail.com
on 14 Jul 2008 at 8:13
>> Unfortunately when I tried to go on main page
> You don't need to do a further actions, update is complete and you may open
the main
> page of Glossword (not the main page of the installer).
I was automatically redirected to installer
> Add the code to file func.browse.inc.php:
> line 743: prn_r( $arSql );
> line 744: exit;
> This is inside function getSettings();
I put it there (see attachment) and I am not redirected to installer.
Unfortunately
main page is blank...
Original comment by zde...@gmail.com
on 15 Jul 2008 at 7:00
Attachments:
Try attached file.
Original comment by dmitry.s...@gmail.com
on 19 Jul 2008 at 5:06
Attachments:
With this file (after upgrade to 1.8.10) when I go to main page,
installation/upgrade
procedure is run (in circle)...
/var/log/httpd/error_log:
[Sun Jul 20 21:03:44 2008] [error] [client 127.0.0.1] PHP Warning: Variable
passed
to each() is not an array or object in
/home/zdpo/myapp/glossword/inc/func.browse.inc.php on line 744
[Sun Jul 20 21:03:56 2008] [error] [client 127.0.0.1] PHP Warning: Variable
passed
to each() is not an array or object in
/home/zdpo/myapp/glossword/inc/func.browse.inc.php on line 744
Original comment by zde...@gmail.com
on 20 Jul 2008 at 7:08
Original comment by dmitry.s...@gmail.com
on 18 Feb 2010 at 9:22
Original issue reported on code.google.com by
zde...@gmail.com
on 13 Jul 2008 at 8:20