News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Arcade

Started by niko, October 01, 2004, 02:45:55 PM

Previous topic - Next topic

Kindred

I'm having a really odd occurance....


the thumbnail url is being saved as Games/NAME.gif
no $boardurl...

So, in display.template.php, the pic appears as a blank box (red X) and the url is http://site.org/index.php/Games/NAME.gif

I have temporaily fixed it, by changing the line in Display.template.php to read:
         echo '
                        <img src="', $boardurl, '/',  $tmp['thumbnail'], '" alt="', $tmp['name'], ' ', $txt['arcade_136'],'" width="20">';


I don't know if this is an interaction with some other mod or what....  but the thumbnails disappeared a few weeks ago
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Harro

You've got SEF url's enabled?

Kindred

nope...  not SEF.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jsdoyle

I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!

nokonium

Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

Neither can anyone else who has installed 1.2rp, in the tradition of M$, it is a feature  ;)



johnm

were releasing game pack 7 with an sql file so members can install games for the latest game pack

if you need any other ones im happy to provide them just let me know

mrselnombre

Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!

there is a fix for this,

In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');

it has typo change it to

$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');


it has to read caterogy in that line, not category. It is line 268 i think.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

Jako

The whole 60something pages is a little intimidating, so excuse me if this question was already answered, but when will this be compatible with v1.0.4?
Maximus: Brothers, what we do in life... echoes in eternity.


Harro

I just upgraded to 1.0.4 and arcade still seems to work...
So my guess is that you can safely install it on 1.0.4 ;)

tylerd213

Quote from: mrselnombre on June 16, 2005, 05:32:02 AM
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on.  My install of Arcade 1.1.3 was working fine.  I uploaded the files from 1.2RP to my server and ran the sql file.  Now I can't install any new games.

I get an error no matter what I do that says "Missing field: Category".

I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file.  It is possible that one was misspelled where it shouldn't have been for the update.

Anyone have a clue why I'm getting the error?  and maybe a better question is why does it appear I'm the only one with the error??

Thanks!

there is a fix for this,

In arcadeadmin.php find

$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');

it has typo change it to

$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');


it has to read caterogy in that line, not category. It is line 268 i think.

I did that but it is still giving me that same error saying no catagory

mrselnombre

make sure you are editting the right line. It worked for me.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

badshah

everything going fine till the point where i try to installs games...
this is the error i get:

Unknown column 'dsc' in 'field list'
File: /home/******/public_html/smf/Sources/Arcade.php
Line: 936

Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

but i downloaded SMF like 2 days ago so i have the latest version..duno what seems to be the problems though..any help would be much appreciated!!

[Unknown]

I suggest you post in the Arcade mod's topic.  It's not made by us - it's a third party thing.

-[Unknown]

Harro


badshah

Quote from: Harro on June 17, 2005, 10:21:01 AM
Have you tried to run the sql file again?
i did that and everything is fine..just when m tryin to install the game itgive that error....

Harro

Can you post those lines where the error is?

badshah

ah i've found the solution..needed the latest smf arcade..cheers anyway

dtm.exe

Above six posts merged with the appropriate topic.

-Dan The Man

tylerd213

#958
Quote from: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.

I edited it correctly and it still is not working, here is a link to my arcadeadmin.php file (in .txt format) http://www.hpr.x10hosting.com/arcadeadmin.txt

mrselnombre

ahh seems there is the same problem on line 403 it says category when it should be caterogy.

Try changing that one, i am sure i only had to edit my file once though.
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Total Twaddle.

Advertisement: