The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ive got an install code on a product which looks like this
PHP Code:
|
#2
|
||||
|
||||
![]()
If this is a problem with a modification, then you need to post in the modification thread for help. If this is a product you are writing yourself, then you should get rid of the hid_errors line for debugging purposes to see what error is occuring.
|
#3
|
|||
|
|||
![]()
Its my own and ive tried that already.
|
#4
|
||||
|
||||
![]()
Have you tried giving it another name besides 'column'? I wonder if that is a field name not allowed for a new column in a table.
|
#5
|
|||
|
|||
![]()
Its not called column I just changed it for the examples sake
|
#6
|
||||
|
||||
![]()
It must do something, either you get an error, or the column gets added, it cannot do nothing.
Assuming of course that its being run in the first place, are you sure that happens ? |
#7
|
|||
|
|||
![]()
I uploaded it onto a different forum and it worked. Not sure why it didn't on my test board.
|
#8
|
||||
|
||||
![]()
Get rid of the "hide_errors()" call to display the errors.
|
#9
|
|||
|
|||
![]()
If you give examples that are different then the real issue, then how do you think we can help?
|
#10
|
|||
|
|||
![]()
Maybe there's some prefix on the tables and you need to add ` in the statement, like:
Code:
$db->hide_errors(); $db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD column VARCHAR(100) NOT NULL"); $db->show_errors(); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|