Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 04-10-2018, 03:20 PM
 
MatiasRS MatiasRS is offline
 

Newbie
  
Join Date: Apr 2018
Posts: 7
 

Exclamation ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

Greetings.

I have been trying to move my store from my local server to an online server. I have followed the steps explained at the official guide, with the only exception that I compressed the xcart folder into a zip file for ease of transfer. I also transfered the database for the store:

https://kb.x-cart.com/general_setup/moving_x-cart_to_another_location.html#transfering-database

However, when trying to run the store, this error message appears:

Fatal error: Class 'XLite\Module\AModule' not found in /var/www/html/xcart/marketplace/xcart/classes/XLite/Module/CDev/UserPermissions/Main.php on line 14

I have checked the files inside the server and both files are where they're supposed to be. Strager is the fact that these files belong to an add-on I never touched during development. The logs don't reveal anything useful and nothing seems to be out of the ordinary in the config file.

What could be causing this issue? Thank you in advance.
__________________
X-Cart 5.3.4
Add-ons: 2Checkout.com, Authorize.Net SIM, Barclaycard ePDQ e-Commerce, Bestsellers, Bulk Editing, CloudSearch & CloudFilters,
Concierge, Contact us, Coupons, Fast Lane Checkout,
Featured Products,
FedEx,
Flyout Categories Menu, Free Shipping and Shipping freights, Froala WYSIWYG editor integration, Go Social, Google Analytics, iDEAL Payments,
MailChimp Integration with E-commerce support, Multicurrency, News, Newsletter subscriptions, Not Finished Orders, Onboarding Wizard,
PayPal, Product Advisor, Product reviews, QuantumGateway, Related Products, Sage Pay (Form), Sale, Sales Tax, Simple CMS, Skrill, Social Login, Stripe, Theme tweaker, Translation: British English, Update Inventory,
UPS, User permissions,
Value Added Tax / Goods and Services Tax,
Volume Discounts,
X-Payments connector,
XML sitemap
Reply With Quote
  #2  
Old 04-10-2018, 08:44 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

It sounds as some files are missing.

Please check that the following files exist on the server:
/var/www/html/xcart/marketplace/xcart/classes/XLite/Module/AModule.php
/var/www/html/xcart/marketplace/xcart/var/run/classes/XLite/Module/AModule.php
/var/www/html/xcart/marketplace/xcart/var/run/classes/XLite/Module/AModuleAbstract.php
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 04-11-2018, 07:16 AM
 
MatiasRS MatiasRS is offline
 

Newbie
  
Join Date: Apr 2018
Posts: 7
 

Default Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

Hello Alex.
I checked all three files in the server. They very much exist and have the contents you would expect. Is there something else that could be causing the error?
__________________
X-Cart 5.3.4
Add-ons: 2Checkout.com, Authorize.Net SIM, Barclaycard ePDQ e-Commerce, Bestsellers, Bulk Editing, CloudSearch & CloudFilters,
Concierge, Contact us, Coupons, Fast Lane Checkout,
Featured Products,
FedEx,
Flyout Categories Menu, Free Shipping and Shipping freights, Froala WYSIWYG editor integration, Go Social, Google Analytics, iDEAL Payments,
MailChimp Integration with E-commerce support, Multicurrency, News, Newsletter subscriptions, Not Finished Orders, Onboarding Wizard,
PayPal, Product Advisor, Product reviews, QuantumGateway, Related Products, Sage Pay (Form), Sale, Sales Tax, Simple CMS, Skrill, Social Login, Stripe, Theme tweaker, Translation: British English, Update Inventory,
UPS, User permissions,
Value Added Tax / Goods and Services Tax,
Volume Discounts,
X-Payments connector,
XML sitemap
Reply With Quote
  #4  
Old 04-11-2018, 01:33 PM
 
MatiasRS MatiasRS is offline
 

Newbie
  
Join Date: Apr 2018
Posts: 7
 

Default Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

I should mention that the only way I have found to fix the problem is reinstalling Xcart, which is unacceptable given the current constrainsts of my work.
__________________
X-Cart 5.3.4
Add-ons: 2Checkout.com, Authorize.Net SIM, Barclaycard ePDQ e-Commerce, Bestsellers, Bulk Editing, CloudSearch & CloudFilters,
Concierge, Contact us, Coupons, Fast Lane Checkout,
Featured Products,
FedEx,
Flyout Categories Menu, Free Shipping and Shipping freights, Froala WYSIWYG editor integration, Go Social, Google Analytics, iDEAL Payments,
MailChimp Integration with E-commerce support, Multicurrency, News, Newsletter subscriptions, Not Finished Orders, Onboarding Wizard,
PayPal, Product Advisor, Product reviews, QuantumGateway, Related Products, Sage Pay (Form), Sale, Sales Tax, Simple CMS, Skrill, Social Login, Stripe, Theme tweaker, Translation: British English, Update Inventory,
UPS, User permissions,
Value Added Tax / Goods and Services Tax,
Volume Discounts,
X-Payments connector,
XML sitemap
Reply With Quote
  #5  
Old 04-12-2018, 10:54 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 204
 

Default Re: ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2)

My first thought would have been to check and ensure all file permissions and user/group settings were correct...

Fatal error: Class 'XLite\Module\AModule' not found in /var/www/html/xcart/marketplace/xcart/classes/XLite/Module/CDev/UserPermissions/Main.php on line 14
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:45 AM.

   

 
X-Cart forums © 2001-2020