m0nty wrote:
try using the phpswitch in Xampp and change to php 4.3.10 just to be sure if it works..
hmmm on the the latest xampp, as my version of xampp 1.4.11 has zend 2.5.7 and not 2.0.3
you can check exact version of zend using the phpinfo in the xampp system screen..
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies
Dave_L wrote:
Quote:Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in kernel\object.php on line 528
You're using XOOPS 2.0.9.2? I've only seen that error reported when running older versions (<= 2.0.7.x) of XOOPS under PHP5.
Dave_L wrote:
Try applying this fix first:
https://sourceforge.net/tracker/index.php?func=detail&aid=1083928&group_id=41586&atid=430840
If that doesn't correct it, here are some related posts:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=20595&forum=21&post_id=89114#forumpost89114
https://xoops.org/modules/newbb/viewtopic.php?topic_id=28427&forum=7&post_id=123930#forumpost123930
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 51
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 52
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 53
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 54
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 55
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\databasefactory.php on line 30
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\databasefactory.php on line 59
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\mysqldatabase.php on line 61
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\database.php on line 59
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\database.php on line 65
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 72
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 80
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 88
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 96
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 104
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 111
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in \kernel\object.php on line 528
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171
m0nty wrote:
make sure templates_c is writable!!
Quote:This time I didnt create a new database beforehand but just imported the sql file because otherwise it would sometimes tell me database xxx already exists. Everything went perfect too until the XOOPS installation reached the database check and it said "Tables for XOOPS2 already exist in your database" -.- So its #1 set up database #2 install XOOPS #3 restore db? But then I'll have to use another backup cause that specific file seems to have a create db command included... im so lost
that's not entirely the right way to migrate..
because you are importing all your tables from before, the database will already be created.. so in essence there's no need whatsoever to go thru the XOOPS installation procedure.. just copy mainfile.php from your old site to your new site, and edit the relevant sections inside it such as db name, username, password, host and the paths.. and that should then work..