The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Are you sure you didn't upload the file in binary mode?
|
#12
|
|||
|
|||
Quote:
I can see but i dont think so. I left it on auto like i always do, but ill check. --------------- Added [DATE]1200933118[/DATE] at [TIME]1200933118[/TIME] --------------- I made sure that it wasnt in binary mode. Definetly in ASCII mode. I still got the following error. I wish i knew what was going on Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/locavur7/public_html/forum/lcnstore.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/locavur7/public_html/forum/lcnstore.php on line 2 |
#13
|
||||
|
||||
If I were you, I would start by either commenting out some lines and seeing if that fixes it or I'd start a new file and rewrite it from scratch (no copy/paste) and see if that works.
I googled this error, but only came up with other people who have experienced it. No one posted a solution in the threads I read. |
#14
|
|||
|
|||
I was looking at your code and found one probable issue.
Code:
// pre-cache templates used by all actions $globaltemplates = array( // change the lines below to the list of actual templates used in the script 'test_mytesttemplate1', 'test_mytesttemplate22', ); |
#15
|
|||
|
|||
how should it look?
Im not to sure could you assist? // pre-cache templates used by all actions $globaltemplates = array( // change the lines below to the list of actual templates used in the script 'test_mytesttemplate1', 'test_mytesttemplate22', ); |
#16
|
|||
|
|||
Code:
// pre-cache templates used by all actions $globaltemplates = array(); // change the lines below to the list of actual templates used in the script 'test_mytesttemplate1', 'test_mytesttemplate22', |
#17
|
|||
|
|||
im in the same boat im trying to learn as i go also.
Thanks you for your help i will try this. |
#18
|
|||
|
|||
Theres nothing wrong with the $globaltemplates array. Look four lines down and you see the array is closed by that ");". Furthermore the error is on line 2 whereas $globaltemplates is much further down.
RE: Original Post. What are you using to edit the script? Maybe that is causing some kind of error. I don't think its related to the actual syntax because it is running for someone else so it might have something to do with file encoding or something. Try opening it in notepad, copying all the contents to a new notepad document and then saving the notepad document over the old PHP file. (P.S.: I'm just in guessing territory here, but anything is worth try.) |
#19
|
|||
|
|||
im using word pad should i be using note pad?
What is the recomended program for making new PHP file? |
#20
|
||||
|
||||
I'm not a PC person, but I believe I saw somewhere that you should use notepad for this sort of thing.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|