Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header Tags SEO


Jack_mcs

Recommended Posts

It is me again. I use the Oscommerce 2.3.

I have just installed the Header Tags and set them. This works fantastic.

 

I have 1 problem. admin/catalog/categories page is blank.

Admin/catalog/manufacturers opens normally, tags editation is possible there.

I copied a new categories.php to admin and made all necessary changes again to avoid any copy mistakes, but it didn´t help.

Could you please instruct me, how to fix this?

Thanks. Antonin

Link to comment
Share on other sites

It is me again. I use the Oscommerce 2.3.

I have just installed the Header Tags and set them. This works fantastic.

 

I have 1 problem. admin/catalog/categories page is blank.

Admin/catalog/manufacturers opens normally, tags editation is possible there.

I copied a new categories.php to admin and made all necessary changes again to avoid any copy mistakes, but it didn´t help.

Could you please instruct me, how to fix this?

Thanks. Antonin

There is a completed categories.php file in the package. Try it. If it works, then you've made a mistake in your edits. If it fails, then there is a problem elsewhere in your admin code.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I need some help. this was a fresh upload of the contirbution. I got the success on after installing database changes went on to upload all the files finished that web site work great through all the changes keep checking after each new file was loaded.

then when finished i tried to login into the oscommerce admin screen and i get an error for it wont load the login screen any ideas. I simply added the new files didnt modify the old ones. Did i misunderstand the directions i thought complete replacement was what was called for. Please help

Link to comment
Share on other sites

I need some help. this was a fresh upload of the contirbution. I got the success on after installing database changes went on to upload all the files finished that web site work great through all the changes keep checking after each new file was loaded.

then when finished i tried to login into the oscommerce admin screen and i get an error for it wont load the login screen any ideas. I simply added the new files didnt modify the old ones. Did i misunderstand the directions i thought complete replacement was what was called for. Please help

If it's a new shop, then all you need to do is make the database changes and copy both directories for whichever version of oscommerce you are using. If you did that, then you may have copied the files from the wrong version.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

well it caused a problem with the includes general file. I got the http 500 error and called the server because 500 is a server problem it refferenced the general page they restored my site to the last backup. Any idea why it caused the problem with the general file? also at the bottum of my product page it now says view text and like the name of the product any idea or is that the way it is supposed to be? Also after i loaded in the database change it said it was sucessful but the title didnt change?

Link to comment
Share on other sites

well it caused a problem with the includes general file. I got the http 500 error and called the server because 500 is a server problem it refferenced the general page they restored my site to the last backup. Any idea why it caused the problem with the general file? also at the bottum of my product page it now says view text and like the name of the product any idea or is that the way it is supposed to be? Also after i loaded in the database change it said it was sucessful but the title didnt change?

A 500 error occurs when there is a problem and the server doesn't have a specific error for it. A new or clean shop refers to one where the files have not been altered. If you have installed the simplest of contributions or changed the text to read Hi instead of Hello, then you no longer have a clean shop. You can still upload to install, providing the changes you made were not to files that you are uploading. However, if you are using a purchased template, then it is not a clean shop - far from it usually. But if you are sure you have not made any changes and it isn't a purchased template, then the upload should work. In that case, it would almost certainly be that you uploaded the wrong set of files, or not all of them.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

the only things i added were the google analytics and paypal credit card payments. I have a question in the instructions it says "NOTE: The Search Engine Frienly option in admin->Configuration must be off to use this conribution." would this be the problem? Also if i need to not use the clean sop setup i noticed there are a bunch of other files under admin that were not there in the cleanshop verision such as header_tags _seo.php header_tags_ seop_popup _longtext.php where do these go i didnt see them in the instructions. Right now i reloaded the install file and it is good

Link to comment
Share on other sites

here is the actual error code i am getting when i attempt to login into the admin dashboard page Warning: require(includes/functions/header_tags_general.php) [function.require]: failed to open stream: No such file or directory in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

 

Warning: require(includes/functions/header_tags_general.php) [function.require]: failed to open stream: No such file or directory in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

 

Fatal error: require() [function.require]: Failed opening required 'includes/functions/header_tags_general.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

Does this help?

Link to comment
Share on other sites

here is the actual error code i am getting when i attempt to login into the admin dashboard page Warning: require(includes/functions/header_tags_general.php) [function.require]: failed to open stream: No such file or directory in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

 

Warning: require(includes/functions/header_tags_general.php) [function.require]: failed to open stream: No such file or directory in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

 

Fatal error: require() [function.require]: Failed opening required 'includes/functions/header_tags_general.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/phantoma/public_html/phantomoffroadwheels/admin/includes/functions/general.php on line 1479

Does this help?

The error is saying it can't find the required header tags file. You need to upload all of the files for this to work. You don't mention what version of oscommerce you are using even though I've mentioned it several times, but the line number indicates it is 2.3. In that case, go into the Use_if_version_greaterthan_2.3 directory and upload all of the files in the catalog and catalog_for_new_shop_only_2.3 directories. You have to copy the contents of them into the root of your shop. Don't just copy the directories.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jack, we have an old ocs 2.2 website which uses HTC. Instead of upgrading the website I'm creating a new webite using ocs 2.3.1, can I install Header Tag Seo on the new website and just transfer the data or should I first upgrade the data on the old webite to HT Seo before transfering it to the new web site.

 

Thank you for all your assistance.

Link to comment
Share on other sites

Hi Jack, we have an old ocs 2.2 website which uses HTC. Instead of upgrading the website I'm creating a new webite using ocs 2.3.1, can I install Header Tag Seo on the new website and just transfer the data or should I first upgrade the data on the old webite to HT Seo before transfering it to the new web site.

 

Thank you for all your assistance.

Depending upon your version of HTC, there will/may be fields in the products decription, categories description and manufacturers info tables. Those tables are directly compatible, most likely, with 2.3 but if you are copying them, which you will need to do if you want to keep your categories/products as they are, which is important, then what you need for HTS should be there. The exception would be the configure settings. Later versions of HTC had configure settings. Those should be ignored and the ones in HTS should be used. So I would run the install script in HTS first and then copy the above tables. That should get all you need for HTS. This ignores any problems you may have with your upgrade to 2.3 but thast is not a matter for this thread.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi Jack,

 

I've noticed a strange problem that you'd talked about in this thread in the summer of 2010.

 

I have FCKeditor installed, and whenever I manually changed a keyword or title tag or meta tag for any of the products on my site, _p_ and /_p_ are added to the meta description.

 

This happened to a few other people.

 

http://www.oscommerce.com/forums/topic/360129-need-some-html-strip-tags-help/

 

Germ gave a modification for includes/header_tags.php that seems to fix this issue for me:

Replace this:

echo ' <meta name="Description" content="' . $header_tags_array['desc'] . '" >' . "\n";

 

 

With this:

echo ' <meta name="Description" content="' . str_replace(array("_p_", "_/p_", "_br /_"), "", $header_tags_array['desc']) . '" >' . "\n";

 

The underlying issue may be something more complicated regarding html tags being sanitized with database.php, but I don't see any side effects with this

minor code change.

 

Any thoughts on this?

 

Thanks

Link to comment
Share on other sites

 

The underlying issue may be something more complicated regarding html tags being sanitized with database.php, but I don't see any side effects with this

minor code change.

 

Any thoughts on this?

Meta tags shouldn't have html in them so removing such code won't hurt anything.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I tried it again everything works but i do not have the replace me under the index page control message still showing my original title any idea of what file i missed

You probably didn't make the changes for the <head> section code.

Support Links:

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

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

here is the view source code from the first page

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

 

<head>

 

<meta name="description" content="Phantomcustomwheels.com is your source for wheels and tires. Choose from over 36 brands of wheels, and over a dozen brands of tires."/>

 

 

 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

<title>Wheels, Tires, Custom Rims, Chrome Rims, Custom Wheels and more </title>

 

<base href="http://www.phantomcustomwheels.com/" />

 

<link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" />

 

<script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script>

 

<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>

 

 

 

 

 

<script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script>

 

<link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" />

 

<script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>

 

<link rel="stylesheet" type="text/css" href="ext/960gs/960_24_col.css" />

 

<link rel="stylesheet" type="text/css" href="stylesheet.css" />

 

</head>

 

<body>

 

 

 

<div id="bodyWrapper" class="container_24">

 

 

 

 

 

<div id="header" class="grid_24">

 

<div id="storeLogo"><a href="http://www.phantomcustomwheels.com/index.php"><img src="images/store_logo.png" alt="Phantom Custom Wheels" title=" Phantom Custom Wheels " width="900" height="198" /></a></div>

Link to comment
Share on other sites

Hi Jack,

 

I have OScommerce 2.31 with Header tags SEO 3.2.6 installed. I use only Spanish in my site.

 

When I click on administracion\catalogo\fabricantes (admin\catalog\manufacturers I guess in English) which is pointing to:

"http://mysite/mysitedirectory/admin/manufacturers.php"

 

I receive this error message:

Parse error: syntax error, unexpected '>' in /home/"mysite"/public_html/"mysitedirectory"/admin/manufacturers.php on line 259

 

 

In line 259 of my manufacturers.php file there is code added by Header tags SEO instalation.

 

 

When I put back the original manufacturers.php message desapears.

 

I would like to ask your valuable help. Some idea?

 

Thanks a lot.

 

Edo.

Edited by elara
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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