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)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Bigwrenn 03-20-2004 12:20 PM

I'm getting a message stating that I'm not able to view or play the arcade.

This is the message:Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


What could be the problem? Sorry, I'm pretty new to vb!

TheAnt 03-20-2004 12:23 PM

John, as soon as I had upgraded to gold and tried to install this hack, whenever I modify includes/functions.php - it causes loads of parse errors and a fatal error in global.php.

Know the cure at all?

(I'm prepping a clean DB to do test install)

Vb-Hispano 03-20-2004 03:18 PM

working fine in gold :D:D

Aleksey 03-20-2004 04:25 PM

Can anyone please zip up all games in one file?

John 03-20-2004 04:27 PM

Quote:

Originally Posted by TheAnt
John, as soon as I had upgraded to gold and tried to install this hack, whenever I modify includes/functions.php - it causes loads of parse errors and a fatal error in global.php.

Know the cure at all?

(I'm prepping a clean DB to do test install)

Did you use Dreamweaver to make the changes?

John 03-20-2004 04:28 PM

Quote:

Originally Posted by Bigwrenn
I'm getting a message stating that I'm not able to view or play the arcade.

This is the message:Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


What could be the problem? Sorry, I'm pretty new to vb!

Same as always, not installed properly.

*Double check your file changes.*

(Especially in global.php and init.php)

stonecold1203 03-20-2004 05:01 PM

Database error in vBulletin 3.0.0:

Invalid SQL:
CREATE TABLE gamechallenges (
challengeid int(10) unsigned NOT NULL auto_increment,
type tinyint(1) unsigned NOT NULL default '0',
challengerid int(10) unsigned NOT NULL default '0',
challengedid int(10) unsigned NOT NULL default '0',
game varchar(30) NOT NULL default '',
status tinyint(1) unsigned NOT NULL default '0',
datestamp int(13) unsigned NOT NULL default '0',
challengersession int(20) unsigned NOT NULL default '0',
challengedsession int(20) unsigned NOT NULL default '0',
PRIMARY KEY (challengeid)
) TYPE=MyISAM

mysql error: Table 'gamechallenges' already exists

mysql error number: 1050

I'm getting that error. Game challenges?

John 03-20-2004 05:02 PM

If you're upgrading, you don't run the installation script again.

stonecold1203 03-20-2004 05:03 PM

I'm not upgrading.. Installing for the first time

John 03-20-2004 05:05 PM

So why do you already have a table in your database called "gamechallenges"?

stonecold1203 03-20-2004 05:06 PM

I have no idea where that is.. I didn't do anything twice, atleast i don't think so.

The first time i ran the install_arcade.php it did the templates, and then i got a 404. So i refreshed and tried to do it again. I couldn't get past the template additions.

neocorteqz 03-20-2004 05:15 PM

Mine is working fine, although it used to work for mozilla (Firebird .7) now it's not showing the Games, other than that. it worrks great after updating the files.

Breaker 03-20-2004 05:19 PM

Quote:

Originally Posted by stonecold1203
I have no idea where that is.. I didn't do anything twice, atleast i don't think so.

The first time i ran the install_arcade.php it did the templates, and then i got a 404. So i refreshed and tried to do it again. I couldn't get past the template additions.

theres your problem, it got as far as creating that then died.


is there a script that reverses all the DB modifications i need to fix my arcade, reinstall seems essential

stonecold1203 03-20-2004 05:22 PM

Quote:

Originally Posted by Breaker
theres your problem, it got as far as creating that then died.


is there a script that reverses all the DB modifications i need to fix my arcade, reinstall seems essential

Yeah, thats what i thought the problem was.

So i tried to undo the templates and all the changes, but i couldn't find them.

What does the first step do? Can i do undo it?

Dream 03-20-2004 07:26 PM

So, the steps to upgrade:

1) Upload all Gold files and upgrade vb.
2) Edit all files again following installation.txt instructions, and upload.
3) Add the arcade templates to styles.

Is that it? Sorry im a little lost. Theres an arcadeoptions column in the 'users' table, wont that affect the upgrade?

macshrine 03-20-2004 07:43 PM

i just upgraded to Gold, and my arcade works and looks just great!! thanks so much John!!

http://www.macshrine.com/forums/arcade.php ;)

MikeXP 03-20-2004 08:04 PM

Thanks for the cool hack!! Ive installed it on my boards and it works great :)

http://www.globalboards.com/arcade.php?

neocorteqz 03-20-2004 08:16 PM

Quote:

Originally Posted by Breaker
theres your problem, it got as far as creating that then died.


is there a script that reverses all the DB modifications i need to fix my arcade, reinstall seems essential

no but you can do a sql query.

should look something like this.
[sql]
DELETE FROM template WHERE title like LCASE('arcade%')
[/sql]

I may be wrong. As per the usual, back up your DB before doing any modifications. :)

JagFan 03-20-2004 08:31 PM

Quote:

Originally Posted by Sugoi
Please could u tell me how to fix this :

-----------------------------------------------------------------------------------------
Warning: Invalid argument supplied for foreach() in /home/jironet/public_html/forum/includes/functions.php on line 2890
-----------------------------------------------------------------------------------------

when I open functions.php at line 2890 I see this :

foreach ($_FIELDNAMES AS $field => $bitvalue)

By the way I'm using GOLD version

I am having the exact same problem. Everything else was fine and now I am getting this error.

yabba 03-20-2004 09:04 PM

You used Dreamweaver to edit the functions.php . Don't do that.

Use Notepad or the normal texteditor o change the functions.php . Make the Changes again with this tools.

Dreamweaver damaged the functions.php

Greets yabba

neocorteqz 03-20-2004 09:11 PM

Quote:

Originally Posted by yabba
You used Dreamweaver to edit the functions.php . Don't do that.

Use Notepad or the normal texteditor o change the functions.php . Make the Changes again with this tools.

Dreamweaver damaged the functions.php

Greets yabba

Wonder why it does that.

stonecold1203 03-20-2004 10:38 PM

Quote:

Originally Posted by neocorteqz
no but you can do a sql query.

should look something like this.
[sql]
DELETE FROM template WHERE title like LCASE('arcade%')
[/sql]

I may be wrong. As per the usual, back up your DB before doing any modifications. :)

I ran it, got this Affected Rows: 25

Then i tried to install it again. Same error.

John 03-20-2004 10:42 PM

stonecold1203, do the same thing again - and remove all of the arcade tables in the database. (Anything beginning with game)

Bigwrenn 03-20-2004 11:01 PM

Thanks. John for the cool hack. My members love it! BTW- I got the problem fixed.
-Bigwrenn

stonecold1203 03-20-2004 11:16 PM

Quote:

Originally Posted by John
do the same thing again - and remove all of the arcade tables in the database. (Anything beginning with game)

Arcade tables? You mean in the templates? I don't see anything starting with game

xmorpher 03-21-2004 01:15 AM

Quote:

Originally Posted by John
As soon as people start sending me the source files for games (.FLA files), I'll start adapting them for the v3 Arcade. (I'll put a link to new games in the first post.)


:rolleyes:

xmorpher 03-21-2004 01:21 AM

I have two Questions:
1- How do you Add the "ARCADE Templates" to a Style
you installed AFTER installing v3 Arcade?
2- Is there any V3 Arcade's option to create championships? (how)

JagFan 03-21-2004 01:45 AM

It is working again...thank you for all the help within this thread :)

MkJnr 03-21-2004 03:14 AM

Not sure what I've done wrong:

http://www.soccer24-7.com/vb3test/arcade.php

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Have checked through the changes again and everything seems fine. Any ideas where my problem could be?

neocorteqz 03-21-2004 04:04 AM

Quote:

Originally Posted by stonecold1203
Arcade tables? You mean in the templates? I don't see anything starting with game

what is the error message you are getting when you try again?

Kamex 03-21-2004 05:06 AM

I just wanna say that I upgraded from rc4 to gold. I didn't even uninstall the arcade (don't know how), and all I had to do to get it running again was rehack the php files. The arcade runs every bit as good as it did before, and I got to keep my scores too. :D

MkJnr 03-21-2004 05:25 AM

Quote:

Originally Posted by Kamex
I just wanna say that I upgraded from rc4 to gold. I didn't even uninstall the arcade (don't know how), and all I had to do to get it running again was rehack the php files. The arcade runs every bit as good as it did before, and I got to keep my scores too. :D

Could ya zip the files that need editing (if you don't mind) so I can see if I can get this to work?

Crazy Pete 03-21-2004 06:57 AM

Installed on my board with vB3 Gold without issue, and it's slick as hell. Great job, John! :)

SnowBot 03-21-2004 08:31 AM

i have just spent about 2h upgrading to vb3 GOLD and installing the hacks again and i have to say re-installing the arcade was EASY :) great instructions John.

John 03-21-2004 09:03 AM

Quote:

Originally Posted by MkJnr
Not sure what I've done wrong:

http://www.soccer24-7.com/vb3test/arcade.php

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Have checked through the changes again and everything seems fine. Any ideas where my problem could be?

As with everyone else who's had the same problem, you've made a file modification error. Check again. (global.php and init.php)

stonecold1203 03-21-2004 12:20 PM

Quote:

Originally Posted by neocorteqz
what is the error message you are getting when you try again?


Database error in vBulletin 3.0.0:

Invalid SQL:
CREATE TABLE gamechallenges (
challengeid int(10) unsigned NOT NULL auto_increment,
type tinyint(1) unsigned NOT NULL default '0',
challengerid int(10) unsigned NOT NULL default '0',
challengedid int(10) unsigned NOT NULL default '0',
game varchar(30) NOT NULL default '',
status tinyint(1) unsigned NOT NULL default '0',
datestamp int(13) unsigned NOT NULL default '0',
challengersession int(20) unsigned NOT NULL default '0',
challengedsession int(20) unsigned NOT NULL default '0',
PRIMARY KEY (challengeid)
) TYPE=MyISAM

mysql error: Table 'gamechallenges' already exists

mysql error number: 1050

John 03-21-2004 12:21 PM

Once again, it's because you're not removing the game tables from the database.

hitmanuk2k 03-21-2004 01:34 PM

Many apologies if this error has already been posted... but theres a lot of pages to through which Im not gonna do.

Warning: Invalid argument supplied for foreach() in /home2/*******/************/includes/functions.php on line 2878

any ideas? this comes up on all the arcade and main forum pages

hitmanuk2k 03-21-2004 02:00 PM

problem solved, init file had been incorrectly modified

stonecold1203 03-21-2004 02:25 PM

Quote:

Originally Posted by John
Once again, it's because you're not removing the game tables from the database.

How do i do that?


All times are GMT. The time now is 07:37 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.08516 seconds
  • Memory Usage 1,830KB
  • 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
  • (15)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
  • (40)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