The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP code check
Just need someone to go over this snippet of code and tell me if you see anything wrong with it. Currently my mod is not updating the table with the information, instead it does nothing.
I was getting Error: 4 and I have no clue what that means as I'm sure its directed at something I'm doing or within vB. Thanks |
#2
|
||||
|
||||
Is that a plugin - if so, what hook? Your ifs and elses don't add up correctly either.
|
#3
|
|||
|
|||
No this is not a plugin, it is in my own custom addon. They actually do add up from what I can see.
That is the full process. |
#4
|
||||
|
||||
When I was playing with attachments and using $upload, I think error 4 meant the file failed to upload. Does that make sense there?
|
#5
|
|||
|
|||
Yes it does, in other words if the user chooses not to upload a new file, then I need to have it check for a file or not, if no file process text areas only. Still the problem remains with the data not being updated to the entry in the database. So do you see anything wrong with my UPDATE queries?
--------------- Added [DATE]1243895205[/DATE] at [TIME]1243895205[/TIME] --------------- I'm officially an idiot. I wasn't cleaning $catid so I cleaned it then did what I needed and it worked perfect. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|