Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error class ._cfgm_shipping not found


Guest

Recommended Posts

Posted

This is my first install, I've been trying all sorts of ecommerce software, trying to find one I get on with. This was the easiest install of all of them... top marks so far!

 

I got to Step 5 in the installation, the one where it says 'Finished!', and gives buttons for 'catalog' and 'administration tool'. I thought I better go to admin first and do the post install steps, so I clicked the button and this is what I got:

 

Mac OS X 2°âATTR9kâ˜9˜9com.apple.quarantine0002;51ee8b53;Safari;84899887-F47A-499C-ADBF-CA7E2186D1E4This resource fork intentionally left blank ÿÿMac OS X 2°âATTR:3â˜9˜9com.apple.quarantine0002;51ee8b53;Safari;84899887-F47A-499C-ADBF-CA7E2186D1E4This resource fork intentionally left blank ÿÿ

 

I got either the same (or very similar) from Firefox too.

 

I checked the Apache logs (this is on my own Debian GNU Linux test box) and every time I try to load the admin page I see this in my Apache error.log:

 

PHP Fatal error: Class '._cfgm_shipping' not found in /home/sites/oscommerce/admin/includes/classes/cfg_modules.php on line 31

 

I've taken a look at both cfg_modules.php and cfgm_shipping.php and I can't figure out what's going on. Any suggestions?

 

BTW, if I visit the site it works - I can browse products, add them to my cart, etc.

Posted

Hi @@blue_sky,

 

could you temporary remove admin/includes/modules/cfgm_modules/cfgm_shipping.php?

I wonder what happening.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

Hi @@blue_sky,

 

could you temporary remove admin/includes/modules/cfgm_modules/cfgm_shipping.php?

I wonder what happening.

 

I tried that, it still reports the same (I say I tried it, I renamed it to just cfgm_shipping, chopping off the .php). I just tried it again, renaming it "boris.txt" and got the same error, then I moved it to another directory (just in case all files were being read regardless of name or type) and still the same.

Posted

OK, I did a re-install and all seems OK. What I did differently this time is change ownership and group of the files to www-data before I did the install, instead of after, and I renamed the admin directory during the install.

 

Thinking about it now, that renaming could quite well have been the problem. The Post Installation Notes recommended renaming the admin directory, but I think more is needed than just renaming (which is what I did first time through), you need to write it into a config file somewhere too [admin]/includes/configure.php by the looks of it... at least, that's the only file that shows up containing the new directory name I gave when I rgrep for it. Whether it's stored in the DB or not I don't know.

 

... time passes...

 

I've just gone through the install directory. In file install/templates/pages/install_4.php the line that is displayed if the admin directory has not been renamed during the install is:

 

Line 226: Rename the Administration Tool directory located at <?php echo $dir_fs_document_root . 'admin'; ?>

 

If any devs are following I think it could be improved by mentioning that the file admin/includes/configure.php needs the lines:

 

define('DIR_WS_ADMIN',...

define('DIR_FS_ADMIN',...

 

need to be changed to reflect the directory name change... Of course, if the admin dir is recorded in the DB, well, that's more complicated.

  • 7 months later...
Posted

I am experiencing the same issue. I am only able to login into the admin page when I remove the contents from cfg_modules and then the error takes up the entire screen. What I am trying to do is run this on a test server before deploying but right now that seems impossible. The store is available, but the admin section throws up errors.

 

Mac OS X  2ATTRvTJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTR%JJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTR&JJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRSJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRksJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRf?JJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTR"JJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRUc8JJcom.apple.quarantine0002;532b0aa3;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTR`]mJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTR>IJJcom.apple.quarantine0002;532b0aa3;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank Mac OS X  2ATTRCJJcom.apple.quarantine0002;532b0aa2;Safari;DD28A6C3-00E1-4682-B336-01B17FD8587B|com.apple.SafariThis resource fork intentionally left blank 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...