vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Moderator Application System 2.0 (https://vborg.vbsupport.ru/showthread.php?t=102506)

sabret00the 08-24-2006 02:15 PM

Quote:

Originally Posted by Barteken
Ok the first form submit works now but when I want to send another with another user I get a db error.
This error
Code:

Database error in vBulletin 3.6.0:

Invalid SQL:

                INSERT INTO mas_application(userid, email, fullname, age, location, timezone, answers, application_time)
                VALUES (608, 'barteke1988@hotmail.com', 'lala', '50', 'slsl', 'dldl', 'a:6:{i:0;s:4:\"dldl\";i:1;s:4:\"dldl\";i:2;s:3:\"dld\";i:3;s:4:\"dldl\";i:4;s:5:\"dlddl\";i:5;s:3:\"dld\";}', 1156430586);

MySQL Error  : Duplicate entry '0' for key 1 Error Number : 1062
Date        : Thursday, August 24th 2006 @ 04:43:06 PM


run this query, i'll update the installer
[SQL] ALTER TABLE `mas_application` CHANGE `appid` `appid` INT(10) NOT NULL AUTO_INCREMENT[/sql]

and this query
[SQL] ALTER TABLE `mas_rating` CHANGE `ratingid` `ratingid` INT(10) NOT NULL AUTO_INCREMENT[/sql]

sabret00the 08-24-2006 02:23 PM

installer updated, it seems that auto increments are removed in making queries MySQL 4.0 compatible. :(

Barteken 08-24-2006 10:54 PM

ok works like a charm thanks for the fast response!

FReeSTER 08-25-2006 03:29 PM

sabret00the you the man bro. Nice hack and was looking for something like this for quite a while until I came to this site. lol

Now, it will great if you can tell me how can I translate that Mod into spanish please. Is it posible to do this Bro? :hurt:

Sorry bro Im a noob ;)


Thanks for any help

bashy 08-25-2006 05:05 PM

Sorted now :)

bashy 08-26-2006 12:42 PM

Hi

We get this error now when a app is submitted

Code:

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 763
urgently need support on this please as we have 3 peeps that want to apply for a position... :(

In the database i have maf and mas tables, whats this all about please?

Also i still dont see the moderator application section in the admincp, but its there in the modcp
so i cannot delete th appz from the admincp, only from the db its self atm :(

sabret00the 08-26-2006 12:50 PM

Quote:

Originally Posted by bashy
Hi

We get this error now when a app is submitted

Code:

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 763
urgently need support on this please as we have 3 peeps that want to apply for a position... :(

did you set your vBoptions?

sabret00the 08-26-2006 12:51 PM

Quote:

Originally Posted by El Intocable
sabret00the you the man bro. Nice hack and was looking for something like this for quite a while until I came to this site. lol

Now, it will great if you can tell me how can I translate that Mod into spanish please. Is it posible to do this Bro? :hurt:

Sorry bro Im a noob ;)


Thanks for any help

you'd have to edit the templates and mas_cron.php directly.

bashy 08-26-2006 12:59 PM

Whoopsy...no i didnt....Note to self...read the instructions :o

Sorted the issue with admincp now...
All the filenames are different now, there all/most are now mas and not maf lol

Also what about the tables in the db, mas and maf?
Can i just delete the maf 1's as it looks like its using the mas 1's now?

ForumHabbo 08-26-2006 02:05 PM

I have this problem aswell
Code:

Fatal error: Unable to proceed with save while $errors array is not empty in class vb_datamanager_thread_firstpost in /includes/class_dm.php on line 763
but how do I fix it?
Every one refreshes, and we get about 20 applications from each user. If some one had this problem, and fixed it, can you help me please :)

- Habbo-Gold.Com/forum
- Jack


All times are GMT. The time now is 03:50 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.01367 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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