![]() |
clean url disabled after upgrading from 5.1.4 to 5.1.9
Hi,
clean url disabled after upgrading from 5.1.4 to 5.1.9 i tried to enable it from environment.after i click enableclean URLs, the it gave me a fatal error. is there any bug in version 5.1.9? thanks |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
5.1.9 Clean URLS work for me. What host are you with?
When you get the error, what does it say? Anything in the logs? |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
What exactly fatal error did you get?
|
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
1 Attachment(s)
Hi,
It says ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) Call to a member function map() on a non-object i attached the the screenshot. thanks |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Hi,
How can I upgrade from 5.1.6 to 5.1.9 version. Let me know if there is any patch available? |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Quote:
You should start a new thread to discuss this. Yes there is a patch available, X-Cart 5 has an automatic upgrade process that you need to initiate. You should see a link in the top left of your admin panel. |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Quote:
|
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Hi,
<?php die(1); ?> Dec 13 02:41:28 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::update() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/Admin/Settings.php on line 694 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 526 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=5JPDqbviMLYaV4dS2yq oNSVNC3v8RSA7; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 526 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 02:41:28 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::performUpdate() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 528 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 685 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=5JPDqbviMLYaV4dS2yq oNSVNC3v8RSA7; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 685 file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 528 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 02:41:39 XLite [warning] Form ID checking failure (target: settings, action: enable_clean_url) Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=5JPDqbviMLYaV4dS2yq oNSVNC3v8RSA7; Dec 13 03:05:21 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::update() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/Admin/Settings.php on line 694 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 526 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=IoIQGwfQoBJRY3PFQdq BGZgRLBHE69Wm; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 526 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 03:05:21 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::performUpdate() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 528 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 685 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=IoIQGwfQoBJRY3PFQdq BGZgRLBHE69Wm; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 685 file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 528 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 03:05:42 XLite [warning] Form ID checking failure (target: settings, action: enable_clean_url) Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=IoIQGwfQoBJRY3PFQdq BGZgRLBHE69Wm; Dec 13 03:43:47 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::update() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/Admin/Settings.php on line 694 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 526 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=1Jea6eAVnYAMt1w7Ww8 vJah6gqvvPVOW; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 526 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 03:43:47 XLite [error] Catchable fatal error: Argument 1 passed to XLite\Model\Repo\ARepo::performUpdate() must be an instance of XLite\Model\AEntity, null given, called in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 528 and defined in /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php on line 685 Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=1Jea6eAVnYAMt1w7Ww8 vJah6gqvvPVOW; Backtrace: file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 685 file <compiled classes repository>/classes/XLite/Model/Repo/ARepo.php : 528 file <compiled classes repository>/classes/XLite/Controller/Admin/Settings.php : 694 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1231 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 1250 file <compiled classes repository>/classes/XLite/Controller/AControllerAbstract.php : 473 file <compiled classes repository>/classes/XLite/Controller/Admin/AAdmin.php : 147 file <compiled classes repository>/classes/XLite.php : 474 file <compiled classes repository>/classes/XLite.php : 499 file <X-Cart root>/admin.php : 38 Dec 13 03:44:02 XLite [warning] Form ID checking failure (target: settings, action: enable_clean_url) Server API: cgi-fcgi; Request method: GET; URI: /parktelusa/admin.php?target=settings&action=enable_clean_url& page=Environment&xcart_form_id=1Jea6eAVnYAMt1w7Ww8 vJah6gqvvPVOW; |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Hi verizona!
It looks like upgrade hooks were not run properly during your upgrade and X-Cart did not create the "clean_url_flag" option in the config table. In order to make sure, can you please run the following MySQL query to your database: Code:
SELECT * FROM xlite_config WHERE name="clean_url_flag"; If it returns empty result, then my theory is correct. In this case, you should complete the upgrade manually: http://kb.x-cart.com/display/XDD/Upgrading+X-Cart+5#UpgradingX-Cart5-Manualupgrade As a temporary solution, you can run the following script (I assume you will put into X-Cart root) and it will fix this very problem: PHP Code:
Please, let me know if it makes sense to you. |
Re: clean url disabled after upgrading from 5.1.4 to 5.1.9
Thanks Tony
clean url is working now. |
All times are GMT -8. The time now is 02:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.