The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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: Code:
{ $postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment; $userjs = ''; foreach ($userarray AS $userid => $username) { Code:
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1127 Code:
Parse error: parse error, unexpected T_VARIABLE in /*path deleted*/forum/showthread.php on line 1126 Thanks In Advance ~A newby VB Admin |
#2
|
|||
|
|||
![]()
Somewhere in teh editing process you probably missed a quote or other special character (", ', [ , ], {, },
![]() By starting to try to repair the errors you probably only made things worse. Next time make a fresh backup of all files you're editing before EACH hack you install. |
#3
|
||||
|
||||
![]()
I did and I made sure that everything was highlighted before taking it into the php file... <_< I made sure that the hacks I install will be installed very carefully by cross refrencing and checking its all ok to go into the files...
Im gonna have to start again wont I? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|