I cannot save articles after migration.

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Andsmith
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jan 05, 2010 7:26 pm

I cannot save articles after migration.

Post by Andsmith » Fri Oct 11, 2013 9:27 am

Hi, I would like to ask for your help. This site http://prevue.co.nz/ was migrated from SiteGround server. It worked perfectly there. After migration I can not save articles, modules after changes are made. This error message is thrown: 500 - An error has occurred. Connection to cache server failed ! Joomla! 2.5.14 is up. According to system info all directory is writable. Cache and administrator / cache directory permissions are set to 777. After the migration the htaccess.txt file had to be renamed to .htaccess. I tried rename it back to htaccess.txt but the same error message appeared.

Relevant PHP Settings

Safe Mode Off
Open basedir None
Display Errors Off
Short Open Tags On
File Uploads On
Magic Quotes Off
Register Globals Off
Output Buffering Off
Session Save Path None
Session Auto Start 0
XML Enabled Yes
Zlib Enabled Yes
Native ZIP Enabled Yes
Disabled Functions None
Mbstring Enabled Yes
Iconv Available Yes

There is another migrated 1.5 Joomla site on the same server but it works fine. Has anybody met with this problem? Please help.

Thank you

WebDesignAce
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Sat Oct 12, 2013 12:21 am
Location: Melbourne, Australia
Contact:

Re: I cannot save articles after migration.

Post by WebDesignAce » Sat Oct 12, 2013 5:30 am

Hi,

To me, this is look like path to cache is not correct in your configuration.php

Please check configuration.php and see the setting are matching to the new server and its location of the directories.

Also are you running scripts as Fcgi or Apache?

Happy to help.

Regards,
WDA
http://www.webdesignace.com.au Melbourne Australia | Website Design | eCommerce Website Design

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19740
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: I cannot save articles after migration.

Post by leolam » Sun Oct 13, 2013 8:22 am

Andsmith wrote: According to system info all directory is writable. Cache and administrator / cache directory permissions are set to 777.
That is PLAIN WRONG!. You are never, ever allowed to set anything to '777'

Your folders should be '755' and your files should be '644' Change since will be hacked within no time with such permissions!!! This is like going to a shop and leaving the door from your house wide open and finding it than afterwards strange that your house is empty? If your server runs suPHP as Apache handler you get 500-errors with '777' since it does not allow for these settings!

Please install and post full output of the FPA

Read: http://docs.joomla.org/Security_Checkli ... issions%3F and http://docs.joomla.org/How_do_UNIX_file ... ns_work%3F

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

Andsmith
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jan 05, 2010 7:26 pm

Re: I cannot save articles after migration.

Post by Andsmith » Sun Oct 13, 2013 1:25 pm

Hello Leo,

Thank you for your help. I totally agree with you. I tried dozens of things and suffer a lot with solving this problem. I know setting anything to '777' is stupid thing.

User avatar
JComeskey
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Apr 28, 2007 5:52 pm
Location: Dayton, Ohio
Contact:

Re: I cannot save articles after migration.

Post by JComeskey » Sun Dec 01, 2013 8:34 pm

I'm experiencing this same problem. This is in the admin backend only. And it is very intermittent. Sometimes saving to the database from the backend works fine. Sometimes it crashes and displays the "500 - An error has occurred. Connection to cache server failed!" error.

I've checked error logs in the hosting cpanel and have not found anything. This problem just started out of the blue on 11/31/13.

Joomla (2.5.16) and all extensions are up to date. I've tried it with SEF URLs both on and off.

Here are my FPA results:
Last PHP Error(s) Reported :: Forum Post Assistant (v1.2.3) : 1st December 2013 wrote:[01-Dec-2013 14:45:53 CST6CDT] PHP Fatal error: Class 'JModuleHelper' not found in /home/revolu30/public_html/libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 60
Forum Post Assistant (v1.2.3) : 1st December 2013 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 2.5.16-Stable (Ember) 06-November-2013
Joomla! Platform :: Joomla Platform 11.4.0-Stable (Brian Kernighan) 03-Jan-2012
Joomla! Configured :: Yes | Read-Only (444) | Owner: revolu30 (uid: 1/gid: 1) | Group: revolu30 (gid: 1) | Valid For: 2.5
Configuration Options :: Offline: 1 | SEF: 1 | SEF Suffix: 1 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 1 | Cache: 1 | FTP Layer: 0 | SSL: 0 | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 2.6.32.59-sg3 | Technology: x86_64 | Web Server: Apache | Encoding: gzip | Doc Root: /home/revolu30/public_html | System TMP Writable: Yes

PHP Configuration :: Version: 5.3.27 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 30709 | Log Errors To: php_errorlog | Last Known Error: 01st December 2013 14:45:53. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 24M | Max. POST Size: 32M | Max. Input Time: 45 | Max. Execution Time: 45 | Memory Limit: 128M

MySQL Configuration :: Version: 5.5.32-31.0-log (Client:5.0.91) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 7.55 MiB | #of Tables: 140
Detailed Environment :: wrote:PHP Extensions :: Core (5.3.27) | date (5.3.27) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (1.1) | bcmath () | bz2 () | calendar () | ctype () | curl () | dba () | dom (20031129) | enchant (1.1.0) | hash (1.0) | fileinfo (1.0.5-dev) | filter (0.11.0) | ftp () | gd () | gettext () | SPL (0.2) | iconv () | session () | intl (1.1.0) | json (1.2.1) | ldap () | mbstring () | mcrypt () | mysql (1.0) | mysqli (0.1) | pcntl () | standard (5.3.27) | PDO (1.0.4dev) | pdo_mysql (1.0.2) | pdo_pgsql (1.0.2) | pdo_sqlite (1.0.1) | pgsql () | Phar (2.0.1) | posix () | pspell () | readline () | Reflection ($Id: 4af6c4c676864b1c0bfa693845af0688645c37cf $) | imap () | shmop () | SimpleXML (0.1) | soap () | sockets () | SQLite (2.0-dev) | exif (1.4 $Id$) | tidy (2.0) | tokenizer (0.1) | wddx () | xml () | xmlreader (0.1) | xmlrpc (0.51) | xmlwriter (0.1) | xsl (0.1) | zip (1.11.0) | cgi-fcgi () | bz2_filter (0.1) | http (1.6.5) | mailparse (2.1.5) | memcache (2.2.5) | stats (1.1) | xattr (1.1.0) | SourceGuardian (9.0.4) | mhash () | ionCube Loader () | Zend Guard Loader () | Zend Engine (2.3.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (2.5.0) | com_wrapper (2.5.0) |
Components :: ADMIN :: RokSprocket (2.0.5) | ECB Currency Converter (1.0) | VIRTUEMART (-) | com_config (2.5.0) | com_cache (2.5.0) | com_newsfeeds (2.5.0) | com_menus (2.5.0) | com_banners (2.5.0) | com_categories (2.5.0) | com_login (2.5.0) | Ninja RSS Syndicator (2.0.5) | com_modules (2.5.0) | com_users (2.5.0) | com_media (2.5.0) | com_languages (2.5.0) | com_cpanel (2.5.0) | com_search (2.5.0) | com_weblinks (2.5.0) | com_plugins (2.5.0) | eXtplorer (2.1.3) | com_content (2.5.0) | Akeeba (3.8.2) | com_admin (2.5.0) | Discussions (1.6.1) | com_redirect (2.5.0) | com_joomlaupdate (2.5.0) | com_xmap (2.3.4) | com_templates (2.5.0) | com_checkin (2.5.0) | com_finder (2.5.0) | Gantry (4.1.19) | com_messages (2.5.0) | com_installer (2.5.0) |

Modules :: SITE :: RokSprocket Module (2.0.5) | mod_weblinks (2.5.0) | mod_stats (2.5.0) | mod_custom (2.5.0) | mod_menu (2.5.0) | mod_finder (2.5.0) | mod_articles_popular (2.5.0) | mod_articles_latest (2.5.0) | mod_random_image (2.5.0) | mod_breadcrumbs (2.5.0) | RokNavMenu (2.0.7) | mod_syndicate (2.5.0) | mod_articles_category (2.5.0) | mod_articles_news (2.5.0) | mod_banners (2.5.0) | mod_search (2.5.0) | mod_feed (2.5.0) | mod_languages (2.5.0) | mod_footer (2.5.0) | mod_articles_categories (2.5.0) | mod_related_items (2.5.0) | RokAjaxSearch (2.0.1) | mod_whosonline (2.5.0) | mod_wrapper (2.5.0) | mod_login (2.5.0) | mod_articles_archive (2.5.0) | mod_users_latest (2.5.0) |
Modules :: ADMIN :: mod_status (2.5.0) | mod_custom (2.5.0) | mod_menu (2.5.0) | mod_toolbar (2.5.0) | mod_multilangstatus (2.5.0) | mod_version (2.5.0) | mod_title (2.5.0) | mod_latest (2.5.0) | mod_popular (2.5.0) | mod_feed (2.5.0) | mod_quickicon (2.5.0) | mod_logged (2.5.0) | mod_submenu (2.5.0) | mod_login (2.5.0) |

Plugins :: SITE :: plg_captcha_recaptcha (2.5.0) | plg_finder_categories (2.5.0) | plg_finder_content (2.5.0) | plg_finder_contacts (2.5.0) | plg_finder_newsfeeds (2.5.0) | plg_finder_weblinks (2.5.0) | Smart Search - Discussions (1.6) | plg_editors_codemirror (1.0) | plg_editors_tinymce (3.5.4.1) | Xmap - Virtuemart Plugin (2.0.3) | Xmap - WebLinks Plugin (2.0.1) | Xmap - SobiPro Plugin (2.0.2) | Xmap - Content Plugin (2.0.4) | Xmap - Kunena Plugin (3.0.0) | XMAP_PLUGIN_K2 (1.3) | Xmap - Mosets Tree Plugin (2.0.2) | plg_editors-xtd_image (2.5.0) | plg_editors-xtd_article (2.5.0) | plg_editors-xtd_readmore (2.5.0) | plg_editors-xtd_pagebreak (2.5.0) | plg_quickicon_joomlaupdate (2.5.0) | plg_quickicon_extensionupdate (2.5.0) | System - RokSprocket (2.0.5) | plg_system_highlight (2.5.0) | System - RokExtender (2.0.0) | Security - jHackGuard (1.4.2) | System - Google Maps (3.1) | System - RokCommon (3.1.7) | plg_system_p3p (2.5.0) | plg_system_log (2.5.0) | plg_system_cache (2.5.0) | plg_system_languagecode (2.5.0) | plg_system_remember (2.5.0) | System - Gantry (4.1.19) | plg_system_logout (2.5.0) | plg_system_redirect (2.5.0) | plg_system_languagefilter (2.5.0) | plg_system_sef (2.5.0) | System - jSGCache (1.2.0) | plg_system_debug (2.5.0) | System - Discussions (1.6) | plg_user_contactcreator (2.5.0) | plg_user_profile (2.5.0) | plg_user_joomla (2.5.0) | plg_content_vote (2.5.0) | Content - RokInjectModule (1.5) | plg_content_pagenavigation (2.5.0) | plg_content_finder (2.5.0) | plg_content_emailcloak (2.5.0) | plg_content_loadmodule (2.5.0) | plg_content_geshi (2.5.0) | plg_content_joomla (2.5.0) | plg_content_pagebreak (2.5.0) | Content - Discussions (1.6) | plg_authentication_ldap (2.5.0) | plg_authentication_gmail (2.5.0) | plg_authentication_joomla (2.5.0) | plg_search_categories (2.5.0) | plg_search_content (2.5.0) | plg_search_contacts (2.5.0) | plg_search_newsfeeds (2.5.0) | plg_search_weblinks (2.5.0) | Search - Discussions (1.6) | plg_extension_joomla (2.5.0) |
Templates Discovered :: wrote:Templates :: SITE :: beez_20 (2.5.0) | siteground-j16-3 (1.0.0) | atomic (2.5.0) | siteground-j16-2 (1.0.0) | beez5 (2.5.0) | siteground-j16-1 (1.0.0) | rt_corvus (1.0) |
Templates :: ADMIN :: hathor (2.5.0) | bluestork (2.5.0) |
Last edited by JComeskey on Mon Dec 02, 2013 1:10 am, edited 1 time in total.
RESIST Theocratic Police-State Feudalism!!

User avatar
JComeskey
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Apr 28, 2007 5:52 pm
Location: Dayton, Ohio
Contact:

Re: I cannot save articles after migration.

Post by JComeskey » Sun Dec 01, 2013 9:27 pm

FYI, following up on the missing suhosin extension warning, I upgraded to PHP 5.4.22 with no effect. The problem persists.

Also following up on the Class 'JModuleHelper' not found warning, I found some discussion about this at Rockettheme. They claim this is a bug in the core Joomla software. I attempted to tweak the gantrymodulesrenderer.class.php file as suggested in a post at the rockkettheme forum, but it had no effect. The problem persists.
RESIST Theocratic Police-State Feudalism!!

Andsmith
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Jan 05, 2010 7:26 pm

Re: I cannot save articles after migration.

Post by Andsmith » Mon Dec 02, 2013 7:14 am

My site worked perfectly on siteground before transfer. Hosting company wasn't cooperative at all to help us. I got replies only after days. I was lucky because I could persuade owner to move to siteground and everything is perfect now. But still don't know what could have caused problem.

User avatar
JComeskey
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Apr 28, 2007 5:52 pm
Location: Dayton, Ohio
Contact:

Re: I cannot save articles after migration.

Post by JComeskey » Mon Dec 02, 2013 7:16 am

Andsmith wrote:My site worked perfectly on siteground before transfer. Hosting company wasn't cooperative at all to help us. I got replies only after days. I was lucky because I could persuade owner to move to siteground and everything is perfect now. But still don't know what could have caused problem.
My site is on Siteground already now, but still having these problems.

Also, my site is not a migration. It started as a fresh 2.5 installation.
RESIST Theocratic Police-State Feudalism!!

User avatar
JComeskey
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Sat Apr 28, 2007 5:52 pm
Location: Dayton, Ohio
Contact:

Re: I cannot save articles after migration.

Post by JComeskey » Mon Dec 02, 2013 8:04 pm

Webdongle wrote:Try searching the forum http://forum.joomla.org/viewtopic.php?f ... a#p3105319 has the answer.
OK well first, if you search the forum for ""Connection to cache server failed!", then the forum crashes and gives a SQL error. See: http://forum.joomla.org/viewtopic.php?f ... 5#p3112745

Second, I'm not sure what this captcha problem has to do with the backend crashing. Are you suggesting that the front end captcha problem is causing problems saving to the database from the backend?

FYI, renaming the recaptcha API server did fix the missing recaptcha problem (thank you), which was NOT previously even mentioned in this thread. But it did NOT fix the lost connection to the cache server problem in the backend.
RESIST Theocratic Police-State Feudalism!!

User avatar
lausianne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 156
Joined: Thu Apr 06, 2006 3:15 pm

Re: I cannot save articles after migration.

Post by lausianne » Thu Mar 06, 2014 12:20 pm

Same issue, unfortunately this is the only thread I found via Google regarding this error message.

Me, too, I copied a site to a different server, coming from Siteground with Akeeba Backup/Kickstart. The 500 with message "Connection to cache server failed!" appears whenever I try to save anything in the backend.
What I tried was to switch off cache in configuration.php. Made no difference.

Here's my FPA output:
[-deleted-]

User avatar
lausianne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 156
Joined: Thu Apr 06, 2006 3:15 pm

Re: I cannot save articles after migration.

Post by lausianne » Thu Mar 06, 2014 12:32 pm

Got it!!!

I remembered that I had some special caching enabled on Siteground which required me to install a plugin:
jSGCache

After hard-disabling that plugin (renaming the plugin folder), everything works fine again.

User avatar
uaintgotthisid
Joomla! Explorer
Joomla! Explorer
Posts: 354
Joined: Wed Sep 10, 2008 6:05 pm
Location: Essex, England, United Kingdom
Contact:

Re: I cannot save articles after migration.

Post by uaintgotthisid » Thu Oct 08, 2015 4:19 pm

lausianne wrote:Got it!!!

I remembered that I had some special caching enabled on Siteground which required me to install a plugin:
jSGCache

After hard-disabling that plugin (renaming the plugin folder), everything works fine again.

NICE ONE!!!!
Just another lonely website designer trying to make his way.
https://www.squareballoon.co.uk
JOIN US at Joomla! User Group London or on G+
https://www.joomlalondon.co.uk


Locked

Return to “Migrating and Upgrading to Joomla! 2.5”