The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
cURL
I just tried installing the gWoWRoster hack, but it said it requires cURL to run. This is the first time I've come across this, so I'm not exactly sure how to go about adding it seamlessly. Is it a simple upload, or does it have to be customized? Any help would greatly be appreciated.
|
#2
|
||||
|
||||
Needs to be enabled when compiling php. Best to check with your host if you have it installed, and if not can they install it.
|
#3
|
|||
|
|||
I checked on godaddy and it said that cURL is supported with the server type that I have, but for some odd reason, this is the error that I keep receiving every time I try and upload that particular WoW file:
Code:
Database error in vBulletin 3.7.2: Invalid SQL: CREATE TABLE IF NOT EXISTS gwowroster_charinfo_prof ( `locale` VARCHAR( 2 ) NOT NULL , `realm` VARCHAR( 100 ) NOT NULL , `name` VARCHAR( 100 ) NOT NULL , `charname` VARCHAR( 100 ) NOT NULL , `key` VARCHAR( 100 ) NOT NULL , `updated` INT( 255 ) NOT NULL , `primary` INT( 1 ) NOT NULL , `profname` VARCHAR( 100 ) NOT NULL , `max` INT( 10 ) NOT NULL , `value` INT( 10 ) NOT NULL , PRIMARY KEY ( `locale`, `realm`, `name`, `charname`, `key` ) ); MySQL Error : Specified key was too long; max key length is 1000 bytes Error Number : 1071 Request Date : Monday |
#4
|
||||
|
||||
It could possibly be with MySQL 4, I remember there used to be a bug with MySQL concerning key length, but I'm not too sure what the problems were exactly. You could try change the last line of that query to:
Code:
PRIMARY KEY ( `locale` ) |
#5
|
|||
|
|||
What's the easiest way to go about doing that? The only thing I did was upload that particular file through Products and that's when it gave me that error.
|
#6
|
||||
|
||||
Open the xml file.
Search for: Code:
PRIMARY KEY ( `locale`, `realm`, `name`, `charname`, `key` ) Code:
PRIMARY KEY ( `locale` ) Save then try again |
#7
|
||||
|
||||
You might want to ask the author of the modification to fix this issue. There should really be only one primary key per table.
|
#8
|
|||
|
|||
Thanks! That at least made it go through. Now the only problem is that after I followed the installation for the rest of the hack, the information doesn't show up after I set it up. I ran the Scheduled Task Manager to update it, but it didn't seem to do anything.
Although now that I just checked on it, every time I update the profile field ID and save it, it reverts back to the original. Could that be because I took that information out in the primary key? I will also post this in the hack thread itself..thanks for the help. |
#9
|
|||
|
|||
You should not just go make changes to the database and expect things to still work. Please ask the author of the modification.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|