Forums / General Questions / filename_products_all?

filename_products_all?

Locked

Views: 2,238

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
23 Jun 2006, 9:44 PM
#1
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

filename_products_all?

On the index page, when clicking on the "all products" link, it just refreshes the index page. This is happenning because the link is "main_page=FILENAME_PRODUCTS_ALL" instead of "main_page=products_all".

Notice that the link should be in lower case andminus the word "filename". What file/files do i have to edit to fix this issue?

Thanks
Pete

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion

23 Jun 2006, 9:55 PM
#2
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: filename_products_all?

I am having the same problem! Any help would be greatly appreciated!

and I just checked my filenames.php and it says

define('FILENAME_PRODUCTS_ALL', 'products_all');

So I'm really confused now!

23 Jun 2006, 10:02 PM
#3
abcisme avatar

abcisme

Zen Follower

Join Date:
Jun 2006
Posts:
298
Plugin Contributions:
0

Re: filename_products_all?

I just figured out why this was happening to me.

Somehow, when I uploaded all the files, all of the carriage returns were removed from my ../shop/includes/filenames.php. I reuploaded the original file and it's working fine now. DOH!

23 Jun 2006, 10:19 PM
#4
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: filename_products_all?

Think my issue is different, That is the only link that is not working correctly. I have used the dev toolkit but didn't really help me as php is not really my bag. anyone know a quick fix for this?
Pete

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion

24 Jun 2006, 4:19 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: filename_products_all?

This tells me you are using v1.3 ...

Since then v1.3.0.1 and ... just recently v1.3.0.2 have been released ...

You really want to upgrade to fix this plus several other issues ...

NOTE: Backup your database and site ... before attempting to Upgrade

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jun 2006, 6:45 PM
#6
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: filename_products_all?

Although I think I have, you can never be certain that you have used the over ride system 100%...Knowing my luck, i'll upgrade and spend the next six weeks putting it right. I'll try a backup another day.

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion

24 Jun 2006, 7:38 PM
#7
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: filename_products_all?

Any chance of a quick fix for this issue?...please

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion

26 Jul 2006, 1:05 PM
#8
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: filename_products_all?

mediathing:

Any chance of a quick fix for this issue?...please

I am using v1.2.5 on this client's site, and fear upgrading, so here's what worked for me.

open includes/templates/template_default/sideboxes/tpl_categories.php
edit the code around line 118 like this:```
//$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
$content .= '<a class="category-links" href="/?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';

save the file in your includes/templates/*YOUR CUSTOM TEMPLATE*/sideboxes folder.
The crazy thing is, I could swear I had used this link befor, and had no problem. Then today I went to use it and the link ended at ".com/"
Go figure.. It works now. The only issue I forsee is session loss, so someone without cookies might loose their cart contents.
26 Jul 2006, 1:14 PM
#9
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: filename_products_all?

TecBrat:

  //$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
  $content .= '<a class="category-links" href="/?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';

I hope the above works for you. It turns out mine was a symptom of a bigger problem. I have other links that aren't working correctly, and I am not sure how long they have been down. I am going to have to figure out what I have done, and undo it.
26 Jul 2006, 1:26 PM
#10
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: filename_products_all?

Important update!
I found that the slash in front of the question mark caused an error in my ssl, but removing it fixed the problem. so make it this:

      //$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';
      $content .= '<a class="category-links" href="?main_page=products_all">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>';

And I found where I had messed up my own site, messing around with html_output functions. Restored older file.

27 Jul 2006, 4:29 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: filename_products_all?

mediathing:

Any chance of a quick fix for this issue?...please

There are a number of bugs in v1.3 that are fixed in the 2 upgrades to v1.3.0.2 ... I'd really suggest you upgrade and not attempt a "quick fix" as this is not a fix but will mask issues on your site and cause you a lot of grief ... :cry:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Jul 2006, 7:19 PM
#12
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: filename_products_all?

In the process of setting up a merchant bank account and gonna use protx as a gateway. Once I am nearly ready I will upgrade to the latest version of zen and fix any overide issues I have a tthat time, should be about another 2 weeks.

Pete

FORUM:

a public meeting or assembly for open discussion

#An online discussion group, where participants with common interests can exchange open messages.

a public facility to meet for open discussion