Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I installed Page Cache-and am very pleased with it. However, when adding categories in Admin I'm getting the errors:

 

-------------------------

 

Warning: Invalid argument supplied for foreach() in /catalog/admin/includes/reset_seo_cache.php on line 5

 

Warning: Cannot modify header information - headers already sent by (output started at /catalog/admin/includes/reset_seo_cache.php:5) in /home/alaskaje/public_html/catalog/admin/includes/functions/general.php on line 18

 

--------------------------

 

The categories get added, but I have to navigate back to the page I want to use because of the error. Anybody found a fix for this?

 

-Cleve

Quidquid latine dictum sit, profundum viditur.

Posted

Checked it and that's not it-no white space or lines before or after. Any other suggestions?

Quidquid latine dictum sit, profundum viditur.

Posted

OK...that is two problems you've found with foreach() so I am guessing that your host has upgraded PHP to 4.3.10 and negelected Zend Optimizer/Accelerator.

 

Tell you host to upgrade Zend and the functions will work correctly.

 

Reference this page: PHP 4.3.10 / Zend Optimizer incompatibilities

 

As a summary, it's not the code that is at fault but rather your host negelecting to upgrade all the software properly.

 

Bobby

Posted

Ok Bobby,

 

Sorry for polluting with shared server specific issues.

 

Hopefully someone else will be helped. Meanwhile-I'm on hold w/ipower.

 

-akmac

Quidquid latine dictum sit, profundum viditur.

Posted

Chemo - When debugging, I'm finding the page cache contribution adds a double slash as follows. Is this a problem, or something I should try and fix:

 

[cache_dir] => /home/jim.com//cache/

[cache_file] => /home/jim.com//cache/_index.php__english_USD.cache

 

Thanks, and happy new year !!

Posted

I'm a perfectionist and would recommend you fix the problem...

 

Look through the settings and if you need help just ask!

 

Bobby

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...