Page 1 of 2
Something very strange is going on...
Posted: Thu Dec 17, 2009 10:17 am
by Hannibal
When I go to edit News posts, the Submit/Cancel/Apply buttons do not appear at the foot of the page (see image)
http://www.fbtvonline.co.uk/uploads/images/cms-error.png. EDIT: the image is too big for the forum, see link instead
Also, when I go to Module Manager, I am unable to access Available Modules or Preferences, nothing happens at all when I click on them
http://www.fbtvonline.co.uk/uploads/images/cms-error-2.png
I recently had some problems in upgrading to 1.6.6, so I imagine that this is the cause. Can I just re-uploads the upgrade files to get this fixed? Or is it better to wait until 2.0 is released?
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 10:26 am
by Rolf
Hey Hannibal
When I go to edit News posts, the Submit/Cancel/Apply buttons do not appear at the foot of the page
Might be a problem with file uploads...
When uploading the files, did you do a checksum?
And when you look in the admin at the System Information page, are there any yellow ! or red X?
Perhaps put a copy of the SI here.
Rolf
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 10:32 am
by Hannibal
Yeah, the checksum was fine.
----------------------------------------------
Cms Version: 1.6.6
Installed Modules:
* CMSMailer: 1.73.14
* FileManager: 1.0.1
* MenuManager: 1.6.2
* ModuleManager: 1.3.1
* News: 2.10.3
* nuSOAP: 1.0.1
* Printing: 1.0.4
* Search: 1.6.1
* ThemeManager: 1.1.1
* TinyMCE: 2.5.5
* Jobs: 1.0
* SimpleGoogleMap: 1.1
* CustomContent: 1.5.3
* Cataloger: 0.7.6
* FrontEndUsers: 1.6.11
* ShopMadeSimple: 0.2.6
* CGExtensions: 1.17.6
* FCKeditorX: 1.1.0
* SelfRegistration: 1.2.5
* SiteMapMadeSimple: 1.2.1
* CGFeedMaker: 1.0.9
Config Information:
* php_memory_limit:
* process_whole_template: true
* max_upload_size: 20000000
* default_upload_permission: 664
* assume_mod_rewrite: true
* page_extension: .html
* internal_pretty_urls: false
* use_hierarchy: true
Php Information:
* phpversion: 5.2.6
* md5_function: On (True)
* gd_version: 2
* tempnam_function: On (True)
* magic_quotes_runtime: Off (False)
* memory_limit: 20M
* max_execution_time: 30
* safe_mode: Off (False)
* session_save_path: /tmp (1777)
* session.use_cookies: On (True)
Server Information:
* Server Api: cgi-fcgi
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.0.45
----------------------------------------------
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 10:44 am
by Rolf
Try to increase these values, sometimes when they are to low you get strange things...
Change in the config.php:
$config['php_memory_limit'] = '64M';
Add to the config.php:
ini_set('max_execution_time', 60);
®
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 11:11 am
by Hannibal
Rolf wrote:
Try to increase these values, sometimes when they are to low you get strange things...
Change in the config.php:
$config['php_memory_limit'] = '64M';
Add to the config.php:
ini_set('max_execution_time', 60);
®
Have changed/added those lines, but no joy

Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 11:49 am
by Rolf
Try to set debug on in the config.php.
Any errors there?
But you can always try to upload the 1.6.6 files again, you never know if some file went overboard...
No need to do an install or upgrade. But a backup is always good.
Rolf
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 12:19 pm
by Hannibal
This is the debug for my News Module main page (means nothing to me!)
Code: Select all
Debug: (1.0999999999999E-5) - (591668)
loading smarty
Debug: (0.00388) - (866912)
loading adodb
Debug: (0.005226) - (954252)
loading page functions
Debug: (0.007914) - (1130000)
loading content functions
Debug: (0.010457) - (1328776)
loading pageinfo functions
Debug: (0.011027) - (1362428)
loading translation functions
Debug: (0.011436) - (1380904)
loading events functions
Debug: (0.012633) - (1464848)
loading php4 entity decode functions
Debug: (0.014576) - (1668612)
done loading files
Debug: (0.031432) - (2359592)
<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
Error (0): <br>
Debug: (0.035348) - (2470376)
<br>
(mysql): SELECT * FROM cms_userplugins<br>
Error (0): <br>
Debug: (0.053726) - (3126344)
<br>
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name<br>
Error (0): <br>
Debug display of 'End of include':(0.117179) - (7602044)
Debug: (0.117258) - (7560148)
Session found. Moving on...
Debug: (0.117302) - (7560148)
Session found. Moving on...
Debug: (0.118329) - (7561916)
<br>
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '17'<br>
Error (0): <br>
Debug: (0.12445) - (7994948)
Session found. Moving on...
Debug: (0.124508) - (7995420)
Session found. Moving on...
Debug: (0.127726) - (8165480)
<br>
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '17' AND ug.group_id = 1<br>
Error (0): <br>
Debug: (0.128757) - (8168372)
<br>
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '17' AND gr.active = 1<br>
Error (0): <br>
Debug: (0.138934) - (8408968)
<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '17'<br>
Error (0): <br>
Debug: (0.139825) - (8410912)
<br>
(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '17'<br>
Error (0): <br>
Debug: (0.140616) - (8411720)
<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)<br>
Error (0): <br>
Debug: (0.141665) - (8411920)
<br>
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '17'<br>
Error (0): <br>
Debug: (0.14263) - (8412688)
<br>
(mysql): SELECT user_id,content_id FROM cms_additional_users<br>
Error (0): <br>
Debug: (0.150696) - (8510820)
<br>
(mysql): SELECT count(news_id) FROM cms_module_news n
WHERE status != 'published'
AND (( IFNULL(end_time, '1970-01-01 00:00:01') = '1970-01-01 00:00:01') OR (end_time > '2009-12-17 12:18:17')) <br>
Error (0): <br>
Debug: (0.153656) - (8626236)
<br>
(mysql): SELECT version from cms_version<br>
Error (0): <br>
Debug: (0.155385) - (8656616)
<br>
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '17' ORDER BY title<br>
Error (0): <br>
Debug: (0.16466) - (8777628)
<br>
(mysql): SELECT * FROM cms_module_news_categories ORDER BY hierarchy<br>
Error (0): <br>
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@fbtvonline.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 12:34 pm
by Rolf
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@fbtvonline.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Right, try to contact your webhost! It seems something is wrong there...
Rolf
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 1:25 pm
by faglork
I had the same problem, right after upgrading to 1.6.6. The solution: Manually clearing the browser cache. The News edit page relies on a javascript, and your browser caches the old JS.
At least that was the case with my installation.
hth,
Alex
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 3:45 pm
by Hannibal
faglork wrote:
I had the same problem, right after upgrading to 1.6.6. The solution: Manually clearing the browser cache. The News edit page relies on a javascript, and your browser caches the old JS.
At least that was the case with my installation.
hth,
Alex
Tired it on a couple of different computers with no luck I'm afraid. Just backing up the files and will re-upload the CMS files. Joy
Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 4:05 pm
by Rolf
Just backing up the files and will re-upload the CMS files.
Use
FileZilla and don't use wifi, just a oldfashioned cable does the trick

Re: Something very strange is going on...
Posted: Thu Dec 17, 2009 4:06 pm
by Hannibal
Rolf wrote:
Just backing up the files and will re-upload the CMS files.
Use
FileZilla and don't use wifi, just a oldfashioned cable does the trick ;)
Stuck on a Mac running 10.4 here at work, so have to use Cyberduck.
Re: Something very strange is going on...
Posted: Fri Dec 18, 2009 11:08 am
by Hannibal
Right, I re-uploaded the 1.6.6-full files, and went into the first step of the upgrade to run a checksum, and I got loads of errors. I also have the "Site down for maintenance" message on my home page. When I log into the admin interface I am still missing the Submit/Cancel/Apply buttons.
This is starting to drive me crazy, does anyone have any ideas what's going on?

Re: Something very strange is going on...
Posted: Fri Dec 18, 2009 12:37 pm
by Rolf
Sent you a pm.
®
Re: Something very strange is going on...
Posted: Sat Dec 19, 2009 12:08 pm
by Rolf
Hi Hannibal
Yesterday evening I got your site fully working again.
Did some more work on your website just now:
- Uploaded a new full 1.6.6
- Deleted .htaccess in /images and /uploads
- Increased max_execution_time
- Tried debug on:
Debug wrote:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
webmaster@fbtvonline.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I think you better contact your webhost first and ask him to look in the php_errorlog for more information on this.
Grtz. Rolf