Page 1 of 1

CGBlog broken [Solved]

Posted: Tue Apr 23, 2013 4:14 pm
by douglas1438
Since installing Front End Users (I think, only change made since it stopped working) the CGBlog module has stopped working. I have tried clearing the cache along with uninstalling and reinstalling from the modules page.

I've attached a screen shot showing the broken screen.

Any ideas please?



----------------------------------------------

Cms Version: 1.11.3

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.2
MenuManager: 1.8.4
FormBuilder: 0.7.3
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
TinyMCE: 2.9.11
CGExtensions: 1.32.2
CGSimpleSmarty: 1.5.2
CGBlog: 1.9.8
SiteMapMadeSimple: 1.2.6
CGFeedMaker: 1.0.17
FrontEndUsers: 1.21.2
CustomContent: 1.8.3
EventsListing: 1.5
AireLibs: 1.3.2


Config Information:

php_memory_limit:
process_whole_template: false
output_compression:
max_upload_size: 20000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: /tmp/ (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.95
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages


----------------------------------------------

Re: CGBlog broken

Posted: Tue Apr 23, 2013 4:28 pm
by Jo Morg
douglas1438 wrote:phpversion: 5.2.17
Latest calguy's modules need php >= 5.3. Either upgrade your server php (some hosts allow for an .htaccess directive) or downgrade FEU (if that was the upgrade/install that broke...)

Re: CGBlog broken

Posted: Wed Apr 24, 2013 9:13 am
by douglas1438
Thank you for your reply.

Coincidentally our host has just emailed out advising its customers to upgrade to PHP 5.4, can I upgrade without it effecting anything else?

If I chose the downgrade route for FEU, do I just replace the module? Would I lose anything?

Thank you.

Re: CGBlog broken

Posted: Thu Apr 25, 2013 11:13 am
by douglas1438
I have now upgraded to PHP 5.4, and the blog is now working. However, all my blog articles have disappeared.

I uninstalled the module but didn't remove it, does this remove the articles from the database?

Thanks,
Chris

Re: CGBlog broken

Posted: Thu Apr 25, 2013 11:53 am
by Jo Morg
douglas1438 wrote:I uninstalled the module but didn't remove it, does this remove the articles from the database?
Yes, it does...
You should make backups of everything (files and DB) before any change to a site, particularly a major change such as an upgrade.
When you need to deactivate a module there are a few ways, depending on the situation:
- on the modules page click Active to toggle between states;
- rename the physical folder of the module (change ModuleName to ModuleName_);

Uninstalling a module always deletes the module data, or at least it should...

Re: CGBlog broken [Solved]

Posted: Thu Apr 25, 2013 3:33 pm
by douglas1438
Lesson learned the hard way.