Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

broken links


purpleKate

Recommended Posts

I've had to remove all of my shopping cart files and cart as site got corrupted.

 

I've re-installed OsCommerce with the latest version, re-installed site files and restored the database.

 

the site is now back up, but now of the links work. Is there a way of re-activating all the links?

 

Kate

Link to comment
Share on other sites

I've had to remove all of my shopping cart files and cart as site got corrupted.

 

I've re-installed OsCommerce with the latest version, re-installed site files and restored the database.

 

the site is now back up, but now of the links work. Is there a way of re-activating all the links?

 

Kate

I believe it must be a problem connecting to the database, as the thinks works for everything except the products listed in the database..

 

any ideas...?

 

kate

Link to comment
Share on other sites

I believe it must be a problem connecting to the database, as the thinks works for everything except the products listed in the database..

 

any ideas...?

 

kate

 

 

 

Check both of your configure.php files. Link correctly to all your files & Directories. For example:

 

Incorrect:

define('DIR_FS_CATALOG', '/www.yoursite.com/');

 

Correct:

define('DIR_FS_CATALOG', '/home/directory/public_html/');

mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts.

Link to comment
Share on other sites

What errors do you get? A link to your site would be helpful to trouble shoot

My store is currently running Phoenix 1.0.3.0

I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 )

I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary

Link to comment
Share on other sites

What errors do you get? A link to your site would be helpful to trouble shoot

 

Hi

Here's a link to my site map, where you can see which links work and which don't:

 

It appears to be the links to the products that are broken, not for instance links to "articles, checkout etc."

 

the error message i get is:

HTTP 404 - File not found - Oops! This link appears to be broken.

 

thanks

Kate

Link to comment
Share on other sites

Since you have SEO url's installed, and since the problem appear at url's that are getting rewritten, I would check the .htaccess file. Most possible you didn't replace it back when reinstalling

 

By the way, you have a "copy of index.php" and "copy of product_info.php" file, is this on purpose or something wrong with reinstallation?

 

Also, some mistake in your english/reviews.php file

Link to comment
Share on other sites

Since you have SEO url's installed, and since the problem appear at url's that are getting rewritten, I would check the .htaccess file. Most possible you didn't replace it back when reinstalling

 

By the way, you have a "copy of index.php" and "copy of product_info.php" file, is this on purpose or something wrong with reinstallation?

 

Also, some mistake in your english/reviews.php file

 

I have the following in the .htaccess file

 

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

 

Can you see any problems with it. I'm unsure what it should be.

 

Thanks

Kate

Link to comment
Share on other sites

What I can see is that there is not a single line related to SEO url's. So 99% the problem comes from here.

 

If you don't have your old .htaccess you need to go back to the contribution and paste into the file whatever the contributions says in the instructions.

 

What SEO url contribution do you have installed?

Link to comment
Share on other sites

Disabling the SEO url's is not a solution. Right now you don't have any SEO url's. This just confirms that the issue is related to the .htaccess file.

 

As I told you, you need to add to your .htaccess file the rewrite rules of the SEO contribution you use (you didn't told me what exactly), or you will live without SEO url's. All other contributions are not related

Link to comment
Share on other sites

Thanks for your quick reply...

 

I have SEO sitemap, article manager, Header Tags and SEO URLS installed. Have just disabled then all and the site seems to be working again!!

 

kate

 

What SEO URL do you have? There are many, not only that, but you have to know what version you have.

 

As our friend says here, it is most certainly the htaccess file. If not, it can also be a combination of php version. Depending on what SEO URL version you have it might give you problems if your old host had php4 and your new host php5.

 

But most certainly just downoad the contribution again and copy paste in the correct code in the htaccess file. That should fix it.

mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts.

Link to comment
Share on other sites

What SEO URL do you have? There are many, not only that, but you have to know what version you have.

 

As our friend says here, it is most certainly the htaccess file. If not, it can also be a combination of php version. Depending on what SEO URL version you have it might give you problems if your old host had php4 and your new host php5.

 

But most certainly just downoad the contribution again and copy paste in the correct code in the htaccess file. That should fix it.

 

Thanks

 

I'm just doing it now!!

 

Kate

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...