Forums / Cotonti / Extensions / Slimbox not compatible with Sienna 0.9.9?

foxhound
#1 2012-06-02 10:21

I tried install the Slimbox plugin ( http://www.cotonti.com/extensions/files-media/slimbox_siena ) on a clean install of Sienna 0.9.9 but during install you get an error about an object ( this is the error: AJAX error: [object Object] )
However, the plugin installs half and stops your site from working (all pages show url not valid error).
You can not uninstall the plugin cause that same error pops up.
I pasued the plugin but that too does not help. Only thing that works is removing the slimbox folder from the plugin folder, than the site work again however an error still shows above the header:

Warning: include(plugins/slimbox/slimbox.php) [function.include]: failed to open stream: No such file or directory in /home/xxxxxxxxxx/public_html/testers/xxxxxxxxxx/system/header.php on line 92

Warning: include() [function.include]: Failed opening 'plugins/slimbox/slimbox.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxxxx/public_html/testers/xxxxxxxxxx/system/header.php on line 92

I know there is an SQL command to run over the DB to uninstall plugins which cause issues however I can not find that anymore. I used the search as well as google to try and find it here on the site but it must be hidden deep in the forums.
If anyone knows how to fix this without me having to delete the DB I would be very thankfull smiley

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
This post was edited by foxhound (2012-06-02 10:37, 11 years ago)
Dayver
#2 2012-06-02 10:31

DELETE FROM `cot_plugins` WHERE `cot_plugins`.`pl_code` = 'slimbox'

Добавлено 3 минуты спустя:

AND

In slimbox.php in section 

[BEGIN_COT_EXT]
Code=slimbox
Part=slimbox.header
File=slimbox.header
Hooks=header.main
Tags=
Minlevel=0
Order=10
[END_COT_EXT]

for Siena I think need only

[BEGIN_COT_EXT]
Hooks=header.main
[END_COT_EXT]

May be this is fix bug with get an error

Pavlo Tkachenko aka Dayver
foxhound
#3 2012-06-02 10:46

Thanks for the command but it did not fix it, this is really weird. I still need to remove the slimbox folder to get my site working again.
So, I disabled AJAX (in main config), that fixes it and the error is gone (but what if I want to use AJAX?). So I figured, if I disable AJAX I can maybe install it, but that too does not work as I now get a fatal error upon slimbox plugin installation: 

Fatal error

2012-06-02 10:43

SQL error 42000: Syntax error or access violation: 1103 Incorrect table name ''


#0  cot_diefatal(SQL error 42000: Syntax error or access violation: 1103 Incorrect table name '') called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/database.php:449]
#1  CotDB->query(UPDATE `` SET `bbc_replacement` = '' WHERE `bbc_name` = 'img' AND `bbc_replacement` = '' LIMIT 1) called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/plugins/slimbox/setup/slimbox.install.php:15]
#2  include(/home/xxxxxxxx/public_html/testers/xxxxxxxx/plugins/slimbox/setup/slimbox.install.php) called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/extensions.php:525]
#3  cot_extension_install(slimbox, ) called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/admin/admin.extensions.php:453]
#4  require(/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/admin/admin.extensions.php) called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/admin/admin.main.php:67]
#5  include(/home/xxxxxxxx/public_html/testers/xxxxxxxx/system/admin/admin.main.php) called at [/home/xxxxxxxx/public_html/testers/xxxxxxxx/admin.php:25]


I tried the change you suggest above but it ends with the same fatal error.

[update]
If I run the SQL command after disabling AJAX and after succesfull uninstall of the plugin I enable AJAX the error is gone. That might have to do with your above fix, but not sure about that.
The only thing I am sure of is that this plugin does no longer work smiley

<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
Dayver
#4 2012-06-02 12:20

Empty cache in admin after SQL command

Pavlo Tkachenko aka Dayver
Twiebie
#5 2012-07-03 01:44