vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Advent Calendar 2010 (https://vborg.vbsupport.ru/showthread.php?t=253669)

Anopheles 11-22-2011 07:21 PM

Hmmmh, no answers?

Jaydee 2 12-15-2014 09:49 AM

With a little bit modification it's still running in 4.2.2 and in the year 2014 as well. :)

At the behest of the forum owner many thanks for that - and from me merry christmas, a happy new year and best regards from Germany,
J?rg

Mr_Devlin 11-21-2015 10:17 AM

The db-changes wil not happen, tables will not being created, check your SQL-syntax, seems to be outdated

Quote:

Datenbankfehler in vBulletin 4.1.9:

Invalid SQL:
SELECT * FROM adventcalendar_days ORDER BY adventcalendar_daysid ASC;

Referrer : https://xxx/login.php?do=login
lendar_days ORDER BY adventcalendar_daysid ASC;

MySQL-Fehler : Table 'XXX.adventcalendar_days' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Saturday, 21.11.2015 @ 13:13:30
Datum : Saturday, 21.11.2015 @ 13:13:30
Skript : http://xxx/admincp/adventcalendar_admin.php
IP-Adresse : xxxx
Benutzername : xxx
Klassenname : vB_Database_MySQLi
MySQL-Version : 6.0.11-alpha-community
PHP Code:

$db->hide_errors();

                
$db->query("ALTER TABLE `" TABLE_PREFIX "usergroup` ADD `adventpermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");

                
$db->query("DROP TABLE IF EXISTS `" TABLE_PREFIX "adventcalendar_days`;");
                
$db->query("CREATE TABLE `" TABLE_PREFIX "adventcalendar_days` (
                  `adventcalendar_daysid` int(11) NOT NULL auto_increment,
                  `active` smallint(1) NOT NULL default '0',
                  `image` text NOT NULL,
                  `data` text NOT NULL,
                  `bitfield` int(4) NOT NULL default '0',
                  `pwidth` int(4) NOT NULL default '0',
                  `pheight` int(4) NOT NULL default '0',
                  PRIMARY KEY  (`adventcalendar_daysid`)
                ) TYPE=MyISAM;"
); 

Any help about this issue?

ProFifaLeagues 11-21-2015 07:45 PM

Quote:

Originally Posted by Mr_Devlin (Post 2559058)
The db-changes wil not happen, tables will not being created, check your SQL-syntax, seems to be outdated



PHP Code:

$db->hide_errors();

                
$db->query("ALTER TABLE `" TABLE_PREFIX "usergroup` ADD `adventpermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");

                
$db->query("DROP TABLE IF EXISTS `" TABLE_PREFIX "adventcalendar_days`;");
                
$db->query("CREATE TABLE `" TABLE_PREFIX "adventcalendar_days` (
                  `adventcalendar_daysid` int(11) NOT NULL auto_increment,
                  `active` smallint(1) NOT NULL default '0',
                  `image` text NOT NULL,
                  `data` text NOT NULL,
                  `bitfield` int(4) NOT NULL default '0',
                  `pwidth` int(4) NOT NULL default '0',
                  `pheight` int(4) NOT NULL default '0',
                  PRIMARY KEY  (`adventcalendar_daysid`)
                ) TYPE=MyISAM;"
); 

Any help about this issue?



Just tried this now and had the same issue mate :(

Dragonsys 11-21-2015 11:03 PM

The error you posted does not correspond to the code you posted.
Just create the DB Table(s) manually.

Chances are the table was not created due to this:
Code:

TYPE=MyISAM

MrD 11-23-2015 08:36 AM

Hi,
change TYPE=MyISAM to TYPE=InnoDB

elikkha 10-26-2016 04:24 PM

Quote:

Originally Posted by Jaydee 2 (Post 2527263)
With a little bit modification it's still running in 4.2.2 and in the year 2014 as well. :)

Hello

Anyway to have a new version for VB4 ?

Impossible to create table, what is this modification please ?

Thanks for any help


All times are GMT. The time now is 05:56 PM.

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.01084 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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