Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
I attempted to upgrade from 3.6.5 to 3.7 after backing up and received the:
ERROR:
AJAX Loading Error: Forbidden
I cleared the cache. I turned off Akeeba backup (all forms)
I loaded the admin tools component, fixed all permissions.
I tried the Joomla Live Update, I also tried uploading and updating it - still the same error.
It does show a warning that my PHP temporary folder isn't set but I went into my configuration.php file and I do show it is set to the correct folder and I verified that the .zip file is in that folder. But that error continues as well.
I'd appreciate any help - thanks
L
ERROR:
AJAX Loading Error: Forbidden
I cleared the cache. I turned off Akeeba backup (all forms)
I loaded the admin tools component, fixed all permissions.
I tried the Joomla Live Update, I also tried uploading and updating it - still the same error.
It does show a warning that my PHP temporary folder isn't set but I went into my configuration.php file and I do show it is set to the correct folder and I verified that the .zip file is in that folder. But that error continues as well.
I'd appreciate any help - thanks
L
-
- Joomla! Apprentice
- Posts: 17
- Joined: Mon Apr 15, 2013 6:42 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
If you can go to php 5.5 and do the update.
Add this rule to .htaccess
AddHandler application/x-httpd-php55 .php
Add this rule to .htaccess
AddHandler application/x-httpd-php55 .php
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
Okay, tried that and it didn't work - but now every time I try to bring up my website it tries to bring up a document that says:
<?php
/**
* @package Joomla.Site
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '5.3.10');
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
// Saves the start time and memory usage.
$startTime = microtime(1);
$startMem = memory_get_usage();
/**
* Constant that is checked in included files to prevent direct access.
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
if (file_exists(__DIR__ . '/defines.php'))
{
include_once __DIR__ . '/defines.php';
}
if (!defined('_JDEFINES'))
{
define('JPATH_BASE', __DIR__);
require_once JPATH_BASE . '/includes/defines.php';
}
require_once JPATH_BASE . '/includes/framework.php';
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
// Instantiate the application.
$app = JFactory::getApplication('site');
// Execute the application.
$app->execute();
unless I put index.php at the end of the website - so now I have two problems - I can't update and can't pull up the website either.
Help!
<?php
/**
* @package Joomla.Site
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '5.3.10');
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
// Saves the start time and memory usage.
$startTime = microtime(1);
$startMem = memory_get_usage();
/**
* Constant that is checked in included files to prevent direct access.
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
if (file_exists(__DIR__ . '/defines.php'))
{
include_once __DIR__ . '/defines.php';
}
if (!defined('_JDEFINES'))
{
define('JPATH_BASE', __DIR__);
require_once JPATH_BASE . '/includes/defines.php';
}
require_once JPATH_BASE . '/includes/framework.php';
// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;
// Instantiate the application.
$app = JFactory::getApplication('site');
// Execute the application.
$app->execute();
unless I put index.php at the end of the website - so now I have two problems - I can't update and can't pull up the website either.
Help!
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
I tried to restore from backup and I received this error:
The extraction has failed
Extraction of the backup archive has failed.
The last error message was:
AJAX Loading Error
HTTP Status: 403 (Forbidden)
Internal status: error
XHR ReadyState: 4
Raw server response:
403 Permission Denied
You do not have permission for this request /administrator//components/com_akeeba/restore.php
The extraction has failed
Extraction of the backup archive has failed.
The last error message was:
AJAX Loading Error
HTTP Status: 403 (Forbidden)
Internal status: error
XHR ReadyState: 4
Raw server response:
403 Permission Denied
You do not have permission for this request /administrator//components/com_akeeba/restore.php
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
So, I downloaded the backup and extracted it using the Akeeba tool so I could get my old .htaccess file back but it won't transfer over the correct size. I'm getting really frustrated now.
I still can't get the website up and running without adding index.php to the URL
I did keep a copy of my original .htaccess file but it won't ftp over correctly - I tried the backup copy to see if that would help but it won't ftp over properly.
Thanks
I still can't get the website up and running without adding index.php to the URL
I did keep a copy of my original .htaccess file but it won't ftp over correctly - I tried the backup copy to see if that would help but it won't ftp over properly.
Thanks
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
Well, I completely restored the website and now it works but I'm back to square 1 - I cannot update to 3.7 because of the AJAX error
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
Assuming you have your original .htaccess in place...
While you're checking that, you will also need to ensure that /administrator/components/com_joomlaupdate/restore.php can be accessed as the core update system uses that file to handle part of the update.
This means there is server side protection (either in your base .htaccess or one in a subdirectory up to that path) which is blocking access to that file. For Akeeba Backup to work, it needs to be able to direct access that file.You do not have permission for this request /administrator//components/com_akeeba/restore.php
While you're checking that, you will also need to ensure that /administrator/components/com_joomlaupdate/restore.php can be accessed as the core update system uses that file to handle part of the update.
-
- Joomla! Apprentice
- Posts: 49
- Joined: Sun Apr 17, 2011 4:58 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
I'm having the same issue.
No akeeba installed, renamed .htaccess, changed back.
Tried uploading manually, but it just takes me back to the control panel without updating.
No akeeba installed, renamed .htaccess, changed back.
Tried uploading manually, but it just takes me back to the control panel without updating.
Last PHP Error(s) Reported :: Forum Post Assistant (v1.3.0) : 26th April 2017 wrote:[26-Apr-2017 14:04:21 America/New_York] PHP Fatal error: Call to undefined method JDocumentRaw::isHtml5() in /home/favcolle/public_html/favoritehotelscollection.com/libraries/joomla/document/renderer/html/head.php on line 67
TIA!Forum Post Assistant (v1.3.0) : 26th April 2017 wrote:Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.6.5-Stable (Noether) 1-December-2016
Joomla! Configured :: Yes | Writable (644) | Owner: --protected-- . (uid: /gid: ) | Group: --protected-- (gid: ) | Valid For: 3.6
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 1 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | 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-042stab116.2 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | Doc Root: /home/favcolle/public_html/favoritehotelscollection.com | System TMP Writable: Yes
PHP Configuration :: Version: 5.5.38 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 81 | Log Errors To: error_log | Last Known Error: 26th April 2017 14:57:39. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 256M
MySQL Configuration :: Version: 5.5.54-cll (Client:5.5.54) | Host: --protected-- (--protected--) | Collation: latin1_swedish_ci (Character Set: latin1) | Database Size: 21.39 MiB | #of Tables: 118Detailed Environment :: wrote:PHP Extensions :: Core (5.5.38) | date (5.5.38) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (2.0) | bcmath () | calendar () | ctype () | curl () | dom (20031129) | filter (0.11.0) | ftp () | gd () | gettext () | hash (1.0) | iconv () | SPL (0.2) | json (1.2.1) | mbstring () | mcrypt () | session () | mysql (1.0) | mysqli (0.1) | standard (5.5.38) | Phar (2.0.2) | Reflection ($Id: dc76d2fe0f3e9c327c1d4ca617d94e26c7fae98d $) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $) | SimpleXML (0.1) | soap () | sockets () | imap () | tokenizer (0.1) | xml () | xmlreader (0.1) | xmlwriter (0.1) | zip (1.11.0) | apache2handler () | PDO (1.0.4dev) | pdo_sqlite (1.0.1) | memcache (2.2.7) | pdo_mysql (1.0.2) | ionCube Loader () | Zend Guard Loader () | Zend Engine (2.5.0) |
Potential Missing Extensions :: suhosin |
Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe
Apache Modules :: core | mod_authn_file | mod_authn_core | mod_authz_host | mod_authz_groupfile | mod_authz_user | mod_authz_core | mod_access_compat | mod_auth_basic | mod_socache_shmcb | mod_socache_dbm | mod_so | mod_include | mod_filter | mod_deflate | http_core | mod_mime | mod_log_config | mod_logio | mod_env | mod_expires | mod_headers | mod_unique_id | mod_setenvif | mod_version | mod_proxy | mod_proxy_connect | mod_proxy_ftp | mod_proxy_http | mod_proxy_fcgi | mod_proxy_scgi | mod_proxy_fdpass | mod_proxy_wstunnel | mod_proxy_ajp | mod_proxy_balancer | mod_proxy_express | mod_slotmem_shm | mod_ssl | mod_lbmethod_byrequests | mod_lbmethod_bytraffic | mod_lbmethod_bybusyness | mod_lbmethod_heartbeat | prefork | mod_unixd | mod_status | mod_autoindex | mod_asis | mod_suexec | mod_cgi | mod_negotiation | mod_dir | mod_actions | mod_userdir | mod_alias | mod_rewrite | mod_bwlimited | mod_ruid2 | mod_php5 | mod_security2 | Apache |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |
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_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
Components :: ADMIN :: com_ajax (3.2.0) 1 | com_plugins (3.0.0) 1 | com_checkin (3.0.0) 1 | com_contenthistory (3.2.0) 1 | Gantry (4.1.32) 1 | com_languages (3.0.0) 1 | COM_IRSRAFFLE (0.0.7) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_content (3.0.0) 1 | com_login (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_templates (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_users (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_tags (3.1.0) 1 | PPN_Portal (0.0.1) 1 | mod_k2_comments (-) 1 | mod_k2_comments (-) 1 | COM_K2 (2.7.1) 1 | com_installer (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_redirect (3.0.0) 1 | com_rsform (1.52.9) 1 | com_admin (3.0.0) 1 | com_menus (3.0.0) 1 | com_search (3.0.0) 1 | com_categories (3.0.0) 1 | RokCandy (2.0.2) 1 | com_modules (3.0.0) 1 | com_messages (3.0.0) 1 | com_weblinks (3.6.0) 1 | com_bfstop (1.4.0) 1 | RokSprocket (2.1.19) 1 | com_finder (3.0.0) 1 | com_config (3.0.0) 1 | com_media (3.0.0) 1 | com_xmap (2.3.4) 1 |
Modules :: SITE :: RokNavMenu (2.0.9) 1 | mod_feed (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_search (3.0.0) 1 | RSForm! Pro Module (1.4.0) 1 | RokAjaxSearch (2.0.4) 1 | mod_stats (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_random_image (3.0.0) 1 | K2 Tools (2.7.1) 1 | mod_languages (3.5.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_login (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_weblinks (3.6.0) 1 | mod_wrapper (3.0.0) 1 | mod_banners (3.0.0) 1 | K2 Users (2.7.1) 1 | mod_tags_similar (3.1.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_menu (3.0.0) 1 | K2 Comments (2.7.1) 1 | mod_articles_news (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | RokSprocket Module (2.1.19) 1 | K2 User (2.7.1) 1 | mod_users_latest (3.0.0) 1 | K2 Content (2.7.1) 1 |
Modules :: ADMIN :: mod_quickicon (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_switcheditor (1.0.0) 1 | mod_version (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_latest (3.0.0) 1 | K2 Stats (admin) (2.7.1) 1 | mod_status (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_menu (3.0.0) 1 | K2 Quick Icons (admin) (2.7.1) 1 |
Plugins :: SITE :: Josetta - K2 Categories (2.6.9) 1 | Josetta - K2 Items (2.6.9) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | Content - RSForm! Pro (1.51.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | Content - RokInjectModule (1.7) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_vote (3.0.0) 1 | Content - RokBox (2.0.13) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_finder (3.0.0) 0 | Editor - RokPad (2.1.9) 1 | plg_editors_codemirror (5.18.0) 1 | plg_editors_tinymce (4.4.3) 1 | Xmap - Content Plugin (2.0.4) 1 | Xmap - Mosets Tree Plugin (2.0.2) 0 | XMAP_PLUGIN_K2 (1.3) 1 | Xmap - WebLinks Plugin (2.0.1) 1 | Xmap - SobiPro Plugin (2.0.2) 0 | Xmap - Kunena Plugin (3.0.0) 0 | Xmap - Virtuemart Plugin (2.0.3) 0 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_image (3.0.0) 1 | Button - RokCandy (2.0.2) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | Button - RokBox (2.0.13) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | User - K2 (2.7.1) 1 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_installer_rsform (1.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_search_tags (3.0.0) 0 | Search - K2 (2.7.1) 1 | plg_search_content (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_weblinks (3.6.0) 1 | plg_system_highlight (3.0.0) 1 | System - RSForm! Pro reCAPTCHA (1.51.2) 1 | System - RokSprocket (2.1.19) 1 | System - RSForm! Pro (1.52.0) 1 | System - K2 (2.7.1) 1 | plg_system_stats (3.5.0) 1 | System - RokCommon (3.2.5) 1 | System - Gantry (4.1.32) 1 | plg_system_debug (3.0.0) 1 | System - RokCandy (2.0.2) 1 | plg_system_log (3.0.0) 1 | System - RokUpdater (1.0. 1 | System - RSForm! Pro Google An (1.51.2) 1 | plg_system_updatenotification (3.5.0) 0 | plg_system_redirect (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_bfstop (1.4.1) 1 | plg_system_sef (3.0.0) 1 | System - RokExtender (2.0.0) 1 | System - RokBox (2.0.13) 1 | plg_system_p3p (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_switcheditor (1.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_cache (3.0.0) 0 | System - RokBooster (1.1.16) 0 | plg_finder_tags (3.0.0) 1 | plg_finder_k2 (2.7.1) 0 | plg_finder_content (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_weblinks (3.6.0) 1 |Templates Discovered :: wrote:Templates :: SITE :: rt_osmosis (1.0) 1 | protostar (1.0) 1 | beez3 (3.1.0) 1 |
Templates :: ADMIN :: isis (1.0) 1 | hathor (3.0.0) 1 |
-
- Joomla! Apprentice
- Posts: 31
- Joined: Sat Dec 29, 2007 11:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
It has all been corrected. Apparently my website builder put in a lot of protections in the .htaccess file.
I had to remove everything in the .htaccess and add only the one line and then everything worked.
Thanks for your help!!
I had to remove everything in the .htaccess and add only the one line and then everything worked.
Thanks for your help!!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Apr 04, 2014 2:52 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
I've been facing the same issue .. when i clicked to update using builtin option in joomla 3.6x. I saw "Error AJAX loading error" alert.
I searched a lot.. configured in following ways
What i did and that worked...
in chrome on the same page where progress bar appears while updating to 3.7 and where there that error alert appears..
when they said.. i can access to that page (i got response in some seconds (may be in 20 seconds))
I hit the same URL of "restore.php" page. and THANKS ALLAH. i got following response.
... when I clicked on the update button.. that worked like a charm..
ALH.
I searched a lot.. configured in following ways
- 1. httaccess: renamed to httaccess.txt
2. change folder permissions to 755 (that was already actually)
3. installed and then removed Admin tool. (after applying permissions)
What i did and that worked...
in chrome on the same page where progress bar appears while updating to 3.7 and where there that error alert appears..
- I opened developer tools...
in the console tab..
i saw an error like page not found for following page.. jquery error etc.
https://www----------.com/administrator/components/com_joomlaupdate/restore.php
I hit on that link .. and i saw a page from our "firewall".. saying I dont' have access to this page.
when they said.. i can access to that page (i got response in some seconds (may be in 20 seconds))
I hit the same URL of "restore.php" page. and THANKS ALLAH. i got following response.
Code: Select all
###{"status":false,"message":"Invalid login"}###
ALH.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Aug 22, 2017 11:10 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
My problem was that in configuration.php the $live_site variable didn't match the real URL to my site, and thus was receiving a CORS error.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Sep 15, 2011 2:50 am
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
thanks for posting this...I was banging my head over this for couple of weeks already. $live_site variable update fixed the issue for me too.mreaccio wrote:My problem was that in configuration.php the $live_site variable didn't match the real URL to my site, and thus was receiving a CORS error.
Furthermore, it seems that the misconfiguration of the $live_site variable manifested itself in joomla inability to check joomla version as shown on the control panel -> maintenance tab. It was always showing version unknown. Now its all back to normal.
-
- Joomla! Intern
- Posts: 76
- Joined: Mon Oct 16, 2006 8:19 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
The file permissions of 644 is what fixed this issue for me. I connected to my server via SSH, and navigated to administrator/components/com_joomlaupdate and then typed:
chmod 644 restore.php
chmod 644 restore_finalisation.php
chmod 644 joomlaupdate.php
This may or may not be necessary, depending on who your hosting provider is.
This is related to the fact that the entire site will not function unless I do:
chmod 644 index.php
and
chmod 644 administrator/index.php
chmod 644 restore.php
chmod 644 restore_finalisation.php
chmod 644 joomlaupdate.php
This may or may not be necessary, depending on who your hosting provider is.
This is related to the fact that the entire site will not function unless I do:
chmod 644 index.php
and
chmod 644 administrator/index.php
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
Do not use the $live_site variable. Leave this empty!
Next all files need to be '644' and files need to be '755' . The correct command (when you have SSH-access enabled on your server) when accessed the 'root' folder of your Joomla installation:
This will set the default permissions the files (644) and directories (755).
Leo
Next all files need to be '644' and files need to be '755' . The correct command (when you have SSH-access enabled on your server) when accessed the 'root' folder of your Joomla installation:
Code: Select all
find -type d -exec chmod 755 {} \;
find -type f -exec chmod 644 {} \;
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Wed Nov 09, 2011 6:30 pm
Re: Upgrade from 3.6.5 to 3.7 - ERROR: AJAX Loading Error: Forbidden
I hate the 'Ajax Loading Error'!!! Over two years and still no closer to solving it. given the number of people who get this error, wouldn't it be great if it were broken down a bit into error messages that might help you pinpoint the problem! Oh well.