vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGarage v3.1.1 (now with GD-Lib support!) (https://vborg.vbsupport.ru/showthread.php?t=63681)

rockergrrl 04-09-2004 08:36 PM

Quote:

Originally Posted by magnus
No, there should be no , (comma) after 262144.

I tried that, and I got errors...

When I added a comma, it worked fine.

magnus 04-09-2004 08:39 PM

Quote:

Originally Posted by rockergrrl
I tried that, and I got errors...

When I added a comma, it worked fine.

Now *that* is weird.. unless of course you've modified the init.php with another hack. This hack assumes that it's an unhacked init.php. The canvbgarage line should be the last line in that array, if not, then you'll have to modify the 262144 as well.

dede1 04-09-2004 08:50 PM

magnus

what is for my error?

Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage:

CREATE TABLE `vbgarage_images` (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

mysql error: You have an error in your SQL syntax near ';
' at line 9

Clb 04-09-2004 08:53 PM

what i did wrong was that i removed the 'caneditownusernotes' => 131072 part and i simply replaced it with 'canvbgarage' => 262144 which was wrong...

i should add it after that and not replace it ;)

magnus 04-09-2004 08:56 PM

Quote:

Originally Posted by dede1
magnus

what is for my error?

Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage:

CREATE TABLE `vbgarage_images` (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;

mysql error: You have an error in your SQL syntax near ';
' at line 9

Your SQL doesn't like the ; ? I assume you're getting this when you run the install_vbgarage.php?

Try running this query:
[SQL]
CREATE TABLE " . TABLE_PREFIX . "vbgarage_images (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1;
[/SQL]

dede1 04-09-2004 09:01 PM

No this error:

Error

SQL-Befehl :

CREATE TABLE " . TABLE_PREFIX . "vbgarage_images(

`vbgarageid` smallint( 6 ) unsigned NOT NULL AUTO_INCREMENT ,
`userid` int( 10 ) unsigned NOT NULL default '0',
`name` varchar( 50 ) NOT NULL default '',
`data` longblob NOT NULL ,
`type` varchar( 50 ) NOT NULL default '',
PRIMARY KEY ( `vbgarageid` )
) TYPE = MYISAM AUTO_INCREMENT = 1

MySQL meldet:

#1064 - You have an error in your SQL syntax near '" . TABLE_PREFIX . "vbgarage_images( `vbgarageid` smallint( 6 ) unsigned NOT ' at line 1

magnus 04-09-2004 09:03 PM

Quote:

Originally Posted by dede1
No this error:

Error

SQL-Befehl :

CREATE TABLE " . TABLE_PREFIX . "vbgarage_images(

`vbgarageid` smallint( 6 ) unsigned NOT NULL AUTO_INCREMENT ,
`userid` int( 10 ) unsigned NOT NULL default '0',
`name` varchar( 50 ) NOT NULL default '',
`data` longblob NOT NULL ,
`type` varchar( 50 ) NOT NULL default '',
PRIMARY KEY ( `vbgarageid` )
) TYPE = MYISAM AUTO_INCREMENT = 1

MySQL meldet:


#1064 - You have an error in your SQL syntax near '" . TABLE_PREFIX . "vbgarage_images( `vbgarageid` smallint( 6 ) unsigned NOT ' at line 1

Errr.. if you're running this in phpmyadmin, or from mysqladmin, etc.. remove the " . TABLE_PREFIX . "

[SQL]
CREATE TABLE vbgarage_images (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1;
[/SQL]

dede1 04-09-2004 09:07 PM

That now registered into the data base over PHPmyadmin

dede1 04-09-2004 09:15 PM

Database is ok per phpmyadmin :

vbgarage_images
vbgarage_users

but how get I now the new Pharasen added?

rockergrrl 04-09-2004 09:17 PM

Quote:

Originally Posted by magnus
Now *that* is weird.. unless of course you've modified the init.php with another hack. This hack assumes that it's an unhacked init.php. The canvbgarage line should be the last line in that array, if not, then you'll have to modify the 262144 as well.

Init.php is unhacked for me..

The clean init.php file has this 'canseedelnotice' => 262144

So having 'canvbgarage' => 262144, just wouldn't work

what should it be then?


All times are GMT. The time now is 07:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02058 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete