The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
non-vb script help
Could someone tell me what I did wrong? I suck at PHP and it shows really
Parse error: parse error, unexpected T_STRING in /home/virtual/site3/fst/var/www/html/store/admin/includes/functions/general.php on line 785 PHP Code:
I modified this and it gave me the error PHP Code:
|
#2
|
||||
|
||||
Try:
PHP Code:
|
#3
|
||||
|
||||
Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/virtual/site3/fst/var/www/html/store/admin/includes/functions/general.php on line 782 with your recommended suggestion. |
#4
|
||||
|
||||
Lets try with {}:
PHP Code:
PHP Code:
|
#5
|
||||
|
||||
Quote:
Neither works NTLDR. Just to let you know the original is: PHP Code:
THe current directory it is uploading to is /images/ I'm hoping with that variable it uploads to: /images/$manufacturers_data['manufacturers_directory'] where $manufacturers_data['manufacturers_directory'] would be information it is obtaining from MySQL. I think i might be overlooking something which may be why it isn't working. |
#6
|
||||
|
||||
Here are the files just to give you an idea what I'm dealing with
-_- |
#7
|
||||
|
||||
All I can think of is to make sure you add:
PHP Code:
|
#8
|
||||
|
||||
in general.php and not another php script in the zip file I attached.
Perhaps I should ask for help to finish this script up cause I'm stumped really bad. Should I ask in this forum or should I ask in the Help Me Finish Forum? I get the impression the Help Me Finish Forum is limited to vB hacks...though I might be wrong.. If a mod would point this thread in the right direction... |
#9
|
|||
|
|||
You can't use quotes when dealing with arrays in double-quotes. Try:
PHP Code:
|
#10
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
Edited: your suggestion works MUG, but I wonder if it affects my variable... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|