Icy Phoenix


Old Support Topics - Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)



mad2 [ Sun 21 Oct, 2012 14:51 ]
Post subject: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
Hello friends,

I have a problem with the upgrade to 2.0 version of IP. (My version is 53b)

I do all the steps to the instructions, but the problem comes when I launch the "convert_utf8_nodbal.php" file. The error is:

Parse error: syntax error, unexpected '(', expecting '}' in /web/htdocs/www.forosdedebate.com/home/convert_utf8_nodbal.php on line 41

I downloaded adn uploaded the same "convert_utf8_nodbal.php" of diferent "mirrors" of the annunnce of MG

http://www.icyphoenix.com/viewtopic.php?f=1&t=8585

but the same error keeps coming

Thanks in advance


mort [ Sun 21 Oct, 2012 15:40 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
Line 41 should look like this?

Code: [Hide] [Select]
$sql = "ALTER DATABASE {$db->real_escape_string($dbname)}


TheSteffen [ Mon 22 Oct, 2012 22:14 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
The file should be fine: convert_utf8_nodbal.php

Remeber to copy it into directly into root NOT install/convert_utf8_nodbal.php


mad2 [ Wed 24 Oct, 2012 09:25 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
Thanks for reply.

Correct. Yes, I tried to run it on root and /install. But none worked.


Limun [ Wed 24 Oct, 2012 11:20 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
i m not sure but do you have your config.php also in root dir when you lunch convert_utf8_nodbal

for me when i try lunch convert_utf8_nodbal without config.php i got blank page


mort [ Wed 24 Oct, 2012 14:09 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
@ mad2

You appear to have your forum in the public_html, rather than in a folder by itself.

And this is a guess - - But it does appear to be a path problem?

Open convert_utf8_nodbal.php

Find this line:

Code: [Hide] [Select]
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');


Change it to:

Code: [Hide] [Select]
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', '');


Put the convert_utf8_nodbal.php in the same place as config.php and try once more.


Mighty Gorgon [ Sat 17 Nov, 2012 12:06 ]
Post subject: Re: Syntax Error 41 During Installation To 2.0 (convert_utf8_nodbal.php)
Did you solve it?




Powered by Icy Phoenix