Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I installed the latest version of cname and pname seo url rewrite from Chemo And I get the folloeing errors:

 

Warning: fopen(/seo_english.cache): failed to open stream: Read-only file system in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 160

 

Warning: fwrite(): supplied argument is not a valid stream resource in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 161

 

Warning: fclose(): supplied argument is not a valid stream resource in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 162

 

Warning: main(/seo_english.cache): failed to open stream: No such file or directory in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 165

 

Warning: main(): Failed opening '/seo_english.cache' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 165

 

I have checked the following lines that this reffers to but not really sure as to how to fix this

 

Any help will be appricated

 

Thanks

Posted

If your server supports mod_rewite, then use Ultimate SEO instead. cName & pName was the first attempt at doing this and, as far as I know, is no longer being updated. Ultimate SEO does a far better job. If your host doesn't offer mod_rewrite, then still use Ultimate SEO but use version 2.0 instead of 2.1.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Ok how do I get the .htaccess file to work my host says it support .htaccess but everytime I place it in there I recieve a internal server error.

Posted

Internal Server errors can indicated any number of erors. If you just added the code from Ultimate SEO into the .htaccess file, it should work. But if that file has php code in it, it has to be surrounded with code to prevent such an error. Your host should be able to tell ypu the cause of the Internal Server error in any event.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Ok how do I get the .htaccess file to work my host says it support .htaccess but everytime I place it in there I recieve a internal server error.

 

Check that your host supports both the options directive and mod rewrite functions for .htaccess If not they SEO won't work.

Backup before making changes. Backup before making changes! Backup before making changes!!

 

You did do a backup? eh?

Posted

Hello,

 

For all that may use this contrib because their host companies may not or limit .htaccess mod rewrite rules heres the scope,

 

this does install and work however there is missing information in the install.html file

 

1) Cache has to be set to true

2) The /tmp/ or /temp/ has to be added in the catalog directory with 777 permissions rwx rwx rwx

3) Make sure the directory name right under the Cache set to true matches the one that you create.

4) Go to /path_to_catalog/catalog/includes/seo_cache.php and find the section where it writes to the tmp file

# Enter the FULL FILE SYSTEM PATH to the cache directory.  Include the ending slash
 $cache_dir = '/tmp/';
 # Enable compression?  Highly recommended
 $cache_compress = 'true';
 # Set the compression level to 1 for best performance
 $cache_compression_level = 1;

 

And thats it

 

If you want to use SEO safe urls set to true and it replaces all ? and = in the url.

 

If you get ERROR cant determine page link I have the crue for that to go to catalog/includes application_top.php look foor this code

 

// set php_self in the local scope
 if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];

 

change it to read this:

 

// set php_self in the local scope
 if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];
 if ($PHP_SELF != $SCRIPT_NAME) {
 $PHP_SELF = $SCRIPT_NAME.$PHP_SELF;
 }

 

This bit of code will replace all the errors and product not found messages this is something that should have been added or atleast someone should know,

 

Well now we all know,

Thanks,

Eric

Posted
I installed the latest version of cname and pname seo url rewrite from Chemo And I get the folloeing errors:

 

Warning: fopen(/seo_english.cache): failed to open stream: Read-only file system in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 160

 

Warning: fwrite(): supplied argument is not a valid stream resource in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 161

 

Warning: fclose(): supplied argument is not a valid stream resource in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 162

 

Warning: main(/seo_english.cache): failed to open stream: No such file or directory in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 165

 

Warning: main(): Failed opening '/seo_english.cache' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_z/d11/s44/b025debf/www/catalog/includes/seo_cache.php on line 165

 

I have checked the following lines that this reffers to but not really sure as to how to fix this

 

Any help will be appricated

 

Thanks

 

Try this, I tried it and it worked for me. Go to your catalog/includes/seo_cache.php and

find this area and put this code in the spot where it says cache_dir=

 

# Enter the FULL FILE SYSTEM PATH to the cache directory. Include the ending slash

$cache_dir = '

/mnt/web_z/d11/s44/b025debf/www/catalog/includes/

';

# Enable compression? Highly recommended

$cache_compress = 'true';

# Set the compression level to 1 for best performance

$cache_compression_level = 1;

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...