Changing Skins in V2,04

When trying to change skins. It starts creating directories and almost at the end I get this…





Fatal error: Call to undefined function driver_db_initiate() in /home/content/c/u/t/cutritefx/html/store2/core/db/mysql.php on line 58



Database error: MySQL server has gone away (2006)

Invalid query: SHOW COLUMNS FROM cscart_sessions



Backtrace:

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 233

Function: db_error

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 33

Function: db_query

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 404

Function: db_get_array

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 430

Function: fn_get_table_fields

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 276

Function: fn_check_table_fields

File: /home/content/c/u/t/cutritefx/html/store2/core/fn.database.php

Line: 206

Function: db_process

File: /home/content/c/u/t/cutritefx/html/store2/core/class.session.php

Line: 104

Function: db_query

File: /home/content/c/u/t/cutritefx/html/store2/core/class.session.php

Line: 78

Function: save





I have to go back and reselect the skin and then it works. This is only when selecting a new skin for the first time.

It’s a server issue relative to how much time that the SQL server has to run a script. You’ve either exceeded that limitation or else there is a security protocol disabling you from going further. If you want to hack away at this issue:



In config.php (Line 88)

Replace this


define('AUTH_CODE', '');
with this


define('AUTH_CODE', 'KNOXIT');
Open the installer again

domain.com/install.php and select reinstall skins while placing the auth code in the appropriate section.



This should then install the skins area, if you continue to have this issue contact your webhost, that said you should do it anyway as the limitation will cause you and your customers havoc otherwise.



Kind Regards,

Jesse-Lee Stringer




[quote name=‘CutRiteFX’]



Database error: MySQL server has gone away (2006)

Invalid query: SHOW COLUMNS FROM cscart_sessions

[/quote]