Page 1 of 2

[solved] edithtmlblob.php error

Posted: Tue Apr 22, 2008 9:22 am
by wibby
Hi guys,

I have a crazy new error going on.

CMS Made Simple 1.2.4 "Greenland"

I am trying to edit a global content block but when i submit it i get a blank page and the following error

Line 45
Char 5
Error: Object required
URL: http://liverpoolcapitalofculture2008.co ... blob_id=12

I have no idea why this has started to happen I have not changed anything and it has been working fine for months.


Does anyone have a clue why this is not working?
Tia

Re: edithtmlblob.php error

Posted: Tue Apr 22, 2008 2:21 pm
by Pierre M.
Hello,
wibby wrote: ...1.2.4...
I have no idea why this has started to happen I have not changed anything and it has been working fine for months.
1.2.4 isn't one month old yet. Either you have upgraded (and there was some oops) or your hosting provider has changed something (what is its opinion on this ?). Or you have been traveling in time with aliens ?

Pierre M.

Re: edithtmlblob.php error

Posted: Tue Apr 22, 2008 2:24 pm
by wibby
Ha yes, sorry I did upgrad but it was working fine after the upgrade.

Call me Dr Who  :P

Re: edithtmlblob.php error

Posted: Tue Apr 22, 2008 2:40 pm
by Pierre M.
Dear Dr Who :-)

Could you edit/add/delete GCB after the upgrade ?
Has your alien hoster changed anything ?
Is your problem specific to one GCB (its name is alphanum?) or all GCBs ?
Anything strange in http logS or source with debug set to true ?

Pierre M.

Re: edithtmlblob.php error

Posted: Tue Apr 22, 2008 2:58 pm
by wibby
LOL!

OK, Regular pages are working create, edit and delete all work fine.

I can add a new GCB but when I hit submit it goes to a white page but the content has been uploaded. I can't edit it. white page no new content uploaded when i hit submit.

I cant edit any of the othe GCB's, white page again no data uploaded.

I can delete GCB's no problem there either

My overlord alien hosting is exactly the same ;o)

I have even tried doing it through FCKeditorX just incase it was a TinyMCE error

I don't see any problems in the logs ! it's driving me crazy!

Re: edithtmlblob.php error

Posted: Tue Apr 22, 2008 3:04 pm
by Pierre M.
Could it be a corrupt upload of GCB handling code ?
http://wiki.cmsmadesimple.org/index.php/FTP_program

Pierre M.

Re: edithtmlblob.php error

Posted: Thu Aug 07, 2008 1:16 am
by chicman
I have the same issue,

Using 1.2.5,

Create GCB, OK
Delete GCB, OK
Modify GCB, fail

Anyone can help?

Re: edithtmlblob.php error

Posted: Thu Aug 07, 2008 2:04 pm
by wibby
I have upgraded to 1.4 now and i am getting the same problem below is the debug errors:

Code: Select all

Debug: (0.011425) - (2143144) 
<br>
(mysql): SELECT sitepref_name, sitepref_value from coc_siteprefs<br>
 Error (0): <br>
Debug: (0.014352) - (2222264) 
<br>
(mysql): SELECT * FROM coc_userplugins<br>
 Error (0): <br>
Debug: (0.024002) - (3188496) 
<br>
(mysql): SELECT * FROM coc_modules WHERE active = 1 ORDER by module_name<br>
 Error (0): <br>
Debug display of 'End of include':(0.069158) - (9460764) 
Debug: (0.069399) - (9474464)

Debug: (0.071338) - (9670080) 
<br>
(mysql): SELECT ug.user_id FROM coc_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 1<br>
 Error (0): <br>
Debug: (0.072073) - (9672196) 
<br>
(mysql): SELECT DISTINCT permission_name FROM coc_user_groups ug INNER JOIN coc_group_perms gp ON gp.group_id = ug.group_id INNER JOIN coc_permissions p ON p.permission_id = gp.permission_id WHERE ug.user_id = '1'<br>
 Error (0): <br>
Debug: (0.072686) - (9683072) 
<br>
(mysql): SELECT preference, value FROM coc_userprefs WHERE user_id = '1'<br>
 Error (0): <br>
Debug: (0.073087) - (9684640) 
<br>
(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, modified_date FROM coc_htmlblobs WHERE htmlblob_id = '29'<br>
 Error (0): <br>

Debug: (0.088485) - (10734352) 
<br>
(mysql): SELECT htmlblob_id FROM coc_additional_htmlblob_users WHERE user_id = '1'<br>
 Error (0): <br>
Debug: (0.089205) - (10735932) 
<br>
(mysql): SELECT content_id FROM coc_content WHERE owner_id = '1'<br>
 Error (0): <br>
Debug: (0.090262) - (10741248) 
<br>
(mysql): SELECT user_id,content_id FROM coc_additional_users<br>
 Error (0): <br>
Debug: (0.090526) - (10743224) 
<br>
(mysql): SELECT ug.user_id FROM coc_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 4<br>
 Error (0): <br>
Debug: (0.097445) - (10870540) 
<br>
(mysql): SELECT bookmark_id, user_id, title, url FROM coc_admin_bookmarks WHERE user_id = '1' ORDER BY title<br>
 Error (0): <br>
Debug: (0.0979) - (10870644) 
<br>
(mysql): SELECT user_id, username FROM coc_users ORDER BY username<br>
 Error (0): <br>
Debug: (0.098202) - (10871348) 
<br>
(mysql): SELECT user_id, username FROM coc_users WHERE user_id <> '1' ORDER BY username<br>
 Error (0): <br>
Debug: (0.098472) - (10871792) 
<br>
(mysql): SELECT * from coc_additional_htmlblob_users WHERE user_id = 2 AND htmlblob_id = '29'<br>
 Error (0): <br>
Debug: (0.102869) - (11223620) 
<br>
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template FROM coc_templates WHERE default_template = 1<br>
 Error (0): <br>
 
Can anyone help me please?

Re: edithtmlblob.php error

Posted: Thu Aug 07, 2008 5:13 pm
by Pierre M.
Hello,

please use 1.4's report tool to give us system/context information.
Your debug has 0 error.

What is your "same problem" ? modify GCB ?
Anything strange in http logS ?
Which upload tool for upgrading ?

Pierre M.

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 1:20 am
by chicman
I am running 1.2.5, what kind of debug info I can provide about the problem? 

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 7:31 am
by wibby
I am using FlashFXP to upload....

Cms Version: 1.4

Installed Modules:

CMSMailer: 1.73.14
MenuManager: 1.5.1
ModuleManager: 1.2.1
News: 2.8.2
nuSOAP: 1.0.1
Search: 1.5.1
ThemeManager: 1.0.8
TinyMCE: 2.4.4
CGExtensions: 1.6
Calendar: 0.7.10
FrontEndUsers: 1.2.0
CustomContent: 1.4.8
FileManager: 0.4.1
Printing: 0.2.5
Album: 0.9.3
RSS2HTML: 1.2
Archiver: 0.2
Smileys: 0.1.3
SelfRegistration: 1.1.3
RateThis: 1.0
FormBuilder: 0.4.4
Uploads: 1.3.1
NMS: 2.1.1
FCKeditorX: 1.1.0
SiteMapMadeSimple: 1.1.3


Config Information:

php_memory_limit:
process_whole_template: true
max_upload_size: 2000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false


Php Information:

safe_mode: Off (False)
phpversion: 5.2.6
memory_limit: 32M
max_execution_time: 30
gd_version: 2
session_save_path: No check because OS path


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 3:59 pm
by Pierre M.
chicman wrote: I am running 1.2.5
Why not try 1.4+ ?

Pierre M.

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 4:06 pm
by Pierre M.
wibby wrote: I am using FlashFXP to upload....
Why not try FileZilla ? http://wiki.cmsmadesimple.org/index.php/FTP_program
wibby wrote: TinyMCE: 2.4.4
Archiver: 0.2
Smileys: 0.1.3
FCKeditorX: 1.1.0
Why not uninstall FCKeditor if you have TinyMCE installed ?
Beware Archiver : I'm not sure it is compatible with CMSms 1.2+. I don't know Smileys, may be 0.1.3 is alpha compatibility too.
What is your "same problem" ? modify GCB ?
Anything strange in http logS ?
Pierre M.

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 4:31 pm
by Pierre M.
Pierre M. wrote: Beware Archiver : I'm not sure it is compatible with CMSms 1.2+.
See http://forum.cmsmadesimple.org/index.ph ... #msg119164

Re: edithtmlblob.php error

Posted: Fri Aug 08, 2008 4:39 pm
by wibby
That was it! fantastic it was the archiver mod.

I forgot it was even there!

Thank you very much Pierre, great job :)