Page 1 of 1

[Solved]Moved xampp htdocs on same machine -> now no cgextensions

Posted: Fri May 29, 2009 5:17 am
by kneehigh
Because I keep stuffing up which has the latest version of code and db and data between my laptop & main box (both XP) I have decided to move htdocs & mysql data to a portable drive so I only have the one copy accessible to both

Because of problems when I moved the data and htdocs at the same time(ie nothing worked)  I am doing it it one step at a time

I have changed the httpd.conf file in xampp\apache\conf to point at the new drive but when I fire up the browser I get the following messages when starting the admin page - H:\xampp\htdocs is the location of the new htdocs...

ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.

Warning: Cannot modify header information - headers already sent by (output started at H:\xampp\htdocs\simplecms\modules\Cart\Cart.module.php:34) in H:\xampp\htdocs\simplecms\admin\login.php on line 211

Warning: Cannot modify header information - headers already sent by (output started at H:\xampp\htdocs\simplecms\modules\Cart\Cart.module.php:34) in H:\xampp\htdocs\simplecms\admin\login.php on line 212

and when I open the site I get the following messages

ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
ERROR: The CGExtensions module could not be found.
string(113) "Smarty error: [in tpl_top:21 line 1]: [plugin] unknown tag - 'process_pagedata' (core.load_plugins.php, line 124)"

Fatal error: Call to undefined function: smarty_cms_function_process_pagedata() in H:\xampp\htdocs\simplecms\tmp\templates_c\%%CB^CBE^CBEE9931%%tpl_top%3A21.php on line 5

Following these messages I did a search in the simplecms folder for any reference to the old location & located a few files in
\tmp\templates_c that had references of $this->_cache_serials pointing to the old directory which I have changed to the new and am still getting the same error.

I have searched the forums for cgextensions not found error message but none of the soultions seem to apply as when I open the modules page in admin & it shows cgextensions as being installed and with dependencies - which I can not uninstall because they (the dependencies that is) don't show on the admin page  and module manager won't let me re-install it - catch 22

So obviously I either to change another setting somehwere to point to where cgi-extensions must be found - OR I need to copy something else to new drive - but what where ?

TIA
Kim

Re: Moved xampp htdocs on same machine -> now no cgextensions

Posted: Fri May 29, 2009 5:44 am
by kneehigh
Know its rude to reply to self but some details I left off
simplecms v 1.5.4
cgextensions  v 1.15.3
products v 2.3.1
cart v1.4.2
orders 1.2.4
pricebasedshipping 1.0.2

###### ApacheFriends XAMPP (basic package) version 1.6.6a ######
Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR
PHP-Switch win32 1.0 (please use the "php-switch.bat")
XAMPP Control Version 2.5 from www.nat32.com
XAMPP Security 1.0
SQLite 2.8.15
OpenSSL 0.9.8g
phpMyAdmin 2.11.4
ADOdb 4.96
Mercury Mail Transport System v4.52
FileZilla FTP Server 0.9.25
Webalizer 2.01-10
Zend Optimizer 3.3.0a
eAccelerator 0.9.5.2 for PHP 5.2.5

Re: Moved xampp htdocs on same machine -> now no cgextensions

Posted: Fri May 29, 2009 6:22 am
by Jeff
Did you update your config.php file?

Re: Moved xampp htdocs on same machine -> now no cgextensions

Posted: Fri May 29, 2009 11:46 pm
by kneehigh
Thanks Fixed

New it would be something simple that I missed