| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
clean url disabled after upgrading from 5.1.4 to 5.1.9 | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
mobile |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||||
|
|||||||||
![]() What exactly fatal error did you get?
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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
__________________
mobile |
|||||||
#5
|
|||||||
|
|||||||
![]() Hi,
How can I upgrade from 5.1.6 to 5.1.9 version. Let me know if there is any patch available?
__________________
Vanaja |
|||||||
#6
|
|||||||||
|
|||||||||
![]() 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#8
|
|||||||
|
|||||||
![]() 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;
__________________
mobile |
|||||||
#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:
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.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|