Darkus
02-08-2005, 09:38 AM
I seem to be plagued with T_VARIABLE errors, and I mean quite a lot. The forum was working wonderfully last night until I installed two new hacks, VB File Manager and Ucash. From then on, the forum just went down the drain.
T_VARIABLE Errors EVERYWHERE, PHP errors the works. I went crazy trying to track it down, induvidually edited all the php files with the error in, still once I fixed one error, 2 others cropped up until I couldent take it anymore and replaced the php files with fresh copys of the installation zip hoping it would cure it. It did, just then I lost all other hacks, which I knew would happen, but it also removed the Smilie Box at the side of the WYSIG editor...
So another hour was spent looking, searching trying to find out what exactly happened. Until, I could not find it, deleted the board directory on the webspace and re-installed.
Fine, I thought, install hacks more carefully now. So I re-installed, added the settings I remembered and went to install the VB File Man, and behold. I edited some php files from within the manager, couse it was a great addition and then this morning, I get the T_VARIABLE errors again...
I literally hit the roof and now ive tried manually editing the files again but this time the error just moves up the line, see example:
{
$postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment;
$userjs = '';
foreach ($userarray AS $userid => $username)
{
Under the forum/showthread.php, line 1127 started playing up and displayed this error message:
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1127
So I removed the { that was there at that line and what happened?
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1126
And now its at the stage where actual values are at that line. I cannot think of anything what to do now, and I turn to you all for a hopeful answer before having to re-install again.
Thanks In Advance
~A newby VB Admin
T_VARIABLE Errors EVERYWHERE, PHP errors the works. I went crazy trying to track it down, induvidually edited all the php files with the error in, still once I fixed one error, 2 others cropped up until I couldent take it anymore and replaced the php files with fresh copys of the installation zip hoping it would cure it. It did, just then I lost all other hacks, which I knew would happen, but it also removed the Smilie Box at the side of the WYSIG editor...
So another hour was spent looking, searching trying to find out what exactly happened. Until, I could not find it, deleted the board directory on the webspace and re-installed.
Fine, I thought, install hacks more carefully now. So I re-installed, added the settings I remembered and went to install the VB File Man, and behold. I edited some php files from within the manager, couse it was a great addition and then this morning, I get the T_VARIABLE errors again...
I literally hit the roof and now ive tried manually editing the files again but this time the error just moves up the line, see example:
{
$postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment;
$userjs = '';
foreach ($userarray AS $userid => $username)
{
Under the forum/showthread.php, line 1127 started playing up and displayed this error message:
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1127
So I removed the { that was there at that line and what happened?
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1126
And now its at the stage where actual values are at that line. I cannot think of anything what to do now, and I turn to you all for a hopeful answer before having to re-install again.
Thanks In Advance
~A newby VB Admin