Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
Ok, well heres the gist of things.
I have PHP5, and MySQL 5. I cannot update these to the latest 5.2, becuase I have other things running on them besides oekaki. Such as IPB 1.3, and Php My Admin. IPB 1.3 took a lot of converting to make it work with php5 and mysql5. So if I update those will be screwed....
So to get to the problem, I did everything your manual said, except chmod, because I'm running my server off Windows XP from my external hardrive.
Yet, I get this error.
Parse error: parse error, unexpected $end in F:\Apache\htdocs\oekaki\install.php on line 1910
Now I have checked line 1910, and all that is there is
?>
^I erase that, still gives error, I put something else, still gives error. No matter what it keeps giving error.
Before that error there were other errors, (because before the installer.php was showing up blank so I turned on display errors) Now it gave others, but I had a friend help fix those, those are fixed now it's giving that one...and nothing I do is fixing it.
This is the edited installer.php how I have it so far.
http://pastebin.com/835165
Help?
Last edited by Hikaru (11-29-2006 04:20:52)
Offline
I've tested the code on PHP 4.3.5 and 5.1.4 with the development version of the PHP.INI file. My own system is WinXP with an Apache server, though I have PHP set up as a runtime, rather than as an Apache module.
$end errors are a real pain in the neck. The only thing that I can think of off-hand is that the "dummy" open-tags I use to keep my text editor happy might be causing an issue. Do a search for <?// and remove all of them. There should be 14 of them.
If short tags are disabled, you'd get a different error. What other errors were you getting earlier?
Offline
Never mind. On line 647 of your modified installer, you didn't comment out one of the braces. Change it to this:
// Set info $sql .= "PRIMARY KEY (ID_2), UNIQUE KEY PIC_ID (PIC_ID)) TYPE=MyISAM"; $result = mysql_query ($sql); sql_check($result, 'data'); //}
Offline
I did what you said and I still get the error.
Parse error: parse error, unexpected $end in F:\Apache\htdocs\oekaki\install.php on line 1910
As for the other errors from before they were.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in F:\Apache\htdocs\oekaki\install.php on line 351
Parse error: parse error, unexpected T_STRING in F:\Apache\htdocs\oekaki\install.php on line 351
http://pastebin.com/835250
^Theres the newly edited one.
Last edited by Hikaru (11-29-2006 05:38:41)
Offline