Problem installing gamepacks

форум посвящен дальнейшим разработкам базового мода SUDOKU

Moderator: el_teniente

Problem installing gamepacks

Postby WascallyWabbit on Tue Apr 27, 2010 10:44 pm

ey. I am having a problem with the installation of the extra gamepacks. I have run a couple of them and they show the database entries just fine. However, when I go into Sudoku, it still only shows gamepack1 as being the only one installed. I have cleared both the Sudoku and main caches and still the same thing. I just upgraded to 3.5.2 if that has any relevance. I would appreciate any help......thx

WascallyWabbit
Новобранец
 
Posts: 2
Joined: Tue Apr 27, 2010 10:39 pm
Gender: None specified
Country: United States

Re: Problem installing gamepacks

Postby el_teniente on Tue Apr 27, 2010 10:54 pm

WascallyWabbit wrote:... they show the database entries just fine.


if they are exist in the database table you can play them, sure winkk:::

WascallyWabbit wrote:... However, when I go into Sudoku, it still only shows gamepack1 as being the only one installed. I have cleared both the Sudoku and main caches and still the same thing.


there is a MySQL(server) cache also winkk:::

if your DB user has a right to flush tables(little chance) you could clear tables cache by yourself

let's wait for a day or too winkk:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Problem installing gamepacks

Postby WascallyWabbit on Wed Apr 28, 2010 1:36 am

just tried flushing/truncating the db cache and had no luck there either. Really strange.

WascallyWabbit
Новобранец
 
Posts: 2
Joined: Tue Apr 27, 2010 10:39 pm
Gender: None specified
Country: United States

Re: Problem installing gamepacks

Postby el_teniente on Wed Apr 28, 2010 3:14 am

he latest pack is querying from DB by standard MySQL query un:::

Code: Select all
$sql = 'SELECT MAX(game_pack) as last FROM ' . SUDOKU_TABLE;


so, it would display the number of the highest pack in the sudoku table

if you say that you have a couple of packs beeing installed over the first one.... :shock:

please try to use another query:

Code: Select all
$sql = 'SELECT game_pack as last FROM ' . SUDOKU_TABLE . ' ORDER BY game_pack DESC LIMIT 1';


maybe your MySQL server has...some non-standard settings

roll:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation


Return to Sudoku MOD

Who is online

Users browsing this forum: No registered users and 1 guest


Page generation time 0.06 sec (PHP: 67% - SQL: 33%) - DB queries 27 - Peak memory usage 3.44 MB
cron