Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Strange problem ? please help ?


Elazar

Recommended Posts

Hi,

 

When I enter to my site to english language, I get strange categories list that I DID NOT entered !

 

This categories are links to other site !

 

What is that strange case means ? Is it a security problem or what ??

 

Please help... :(

 

Thanks a lot..

 

Elazar

Link to comment
Share on other sites

open configure.php and replace your sessions line with this

 

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

 

you are seeing a different shop from the same server, I guess :-)

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

open configure.php and replace your sessions line with this

 

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

you are seeing a different shop from the same server, I guess :-)

 

 

Thank very much dear Monika !

 

I checked the configure.php file and see that it is already set to that configuration.

 

Now I can't switch my site to the English language and also can't browse the categories... :(

 

I don't know what to do, where to start to check that problem ??

 

Any advise from you will be much appreciated. Thanks :)

 

Best Regards,

Elazar

Link to comment
Share on other sites

I don't mean to butt in, but looks like Monika logged off for now.

 

You probably have the cache turned on. Admin>>configuration>>cache

 

Your (english) category box cache is mixed up with someone else's, on the same (shared) server.

 

Contrary to what you might read, it's (usually) not impossible to use the caching on a shared server. Not if it's set up right.

 

This is a must-read, in my opinion. It's long, but worth the time....

 

http://www.oscommerce.com/forums/lofiversion/i...hp/t131040.html

 

As a quick fix, you can turn off the cat. box caching, but do read that thread, if you'd like to get it going again.

Link to comment
Share on other sites

Mark, you're not butting in at all. Very appreciated, this is real forum board spirit. WTG!

 

Elazar, I would have been suggesting caching next ... read the link Mark sent you.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

I don't mean to butt in, but looks like Monika logged off for now.

 

You probably have the cache turned on. Admin>>configuration>>cache

 

Your (english) category box cache is mixed up with someone else's, on the same (shared) server.

 

Contrary to what you might read, it's (usually) not impossible to use the caching on a shared server. Not if it's set up right.

 

This is a must-read, in my opinion. It's long, but worth the time....

 

http://www.oscommerce.com/forums/lofiversion/i...hp/t131040.html

 

As a quick fix, you can turn off the cat. box caching, but do read that thread, if you'd like to get it going again.

 

 

Thanks very much for your reply !!

 

I did as you said, but I still have this problem... :(

 

Any advise please..

 

Thanks again pal !

 

Elazar

Link to comment
Share on other sites

Monika,

 

Thanks. I think we could all use some extra board spirity lately. :D

 

Elazar,

 

Did you turn caching off completely? (admin>configuration>cache>use cache FALSE)?

 

Then go to admin>>tools>>cache control and look at the first line

 

Cache Blocks Date Created Action

Categories Box File does not exist Reset

 

Make sure your "categories box" cache says "File does not exist " like what I pasted above.

 

Then if you're still in trouble, go back to admin>>configuration>>cache and make a note of the location of the "cache" directory listed there.

 

Then log in w/FTP and change your cache folder name. So if it was /home/elazar/public_html/cache change that 'cache' folder name to something else...your dog's name or whatever you like.

 

Then if your still in trouble, clear your browser cache, cookies, etc...make sure you're looking at a real, fresh, page.

Link to comment
Share on other sites

Monika,

 

Thanks. I think we could all use some extra board spirity lately. :D

 

Elazar,

 

Did you turn caching off completely? (admin>configuration>cache>use cache FALSE)?

 

Then go to admin>>tools>>cache control and look at the first line

 

Cache Blocks Date Created Action

Categories Box File does not exist Reset

 

Make sure your "categories box" cache says "File does not exist " like what I pasted above.

 

Then if you're still in trouble, go back to admin>>configuration>>cache and make a note of the location of the "cache" directory listed there.

 

Then log in w/FTP and change your cache folder name. So if it was /home/elazar/public_html/cache change that 'cache' folder name to something else...your dog's name or whatever you like.

 

Then if your still in trouble, clear your browser cache, cookies, etc...make sure you're looking at a real, fresh, page.

 

 

Hi choosealogin !

 

Many thanks for your kindness !

 

I did not understand one thing. If I go to: admin>>configuration>>cache and see the path as: /temp/ then what should be the folder name that I shuld change (I have 2 folders names called TEMP). Is it the "temp" folder that under the public_html folder or is it the "temp" under www folder ??

 

Could it be session problem or something else... since I modified the configure.php file according to dear Monika instructions...

 

waiting please for your advise. thanks a lot !!

 

Regards, :)

 

Elazar

Link to comment
Share on other sites

First, I may have rushed and not been very clear on why I suggested renaming the folder. I suggested that in hopes that it would completely elimate your problem, for now...until you can (if you want to) go back and set up the caching again, with Chemo's instructions in that other post I linked to.

 

Now that I got that out of the way, I have a question. What is the whole path you see when you go to admin>>configuration>>cache?

 

It's just /temp/ ? That's it?

 

Is the caching set to FALSE now?

Link to comment
Share on other sites

First, I may have rushed and not been very clear on why I suggested renaming the folder. I suggested that in hopes that it would completely elimate your problem, for now...until you can (if you want to) go back and set up the caching again, with Chemo's instructions in that other post I linked to.

 

Now that I got that out of the way, I have a question. What is the whole path you see when you go to admin>>configuration>>cache?

 

It's just /temp/ ? That's it?

 

Is the caching set to FALSE now?

 

 

Hi Mark !

 

Yes it just shows /temp/

 

Elazar

Link to comment
Share on other sites

When you go to

 

admin>>tools>>cache control

 

Does it say

 

Categories Box File does not exist (Reset icon)

 

? or does it show a date and time in the middle (instead of file does not exist)?

 

All the files in: admin>>tools>>cache control show File does not exist (Reset icon)

 

Thanks,

Elazar

Link to comment
Share on other sites

Ok, thanks. :D

 

Regardless of the language I choose, I see one category, 'acer memory'. Is that what you are seeing? or not?

 

 

Yes. But when I try to switch to english language I can't.

 

Does it connected to configure.php file.. since my ftp change the chmod to 644 or it is ok like that.

 

Or I just shoot to the sky... :)

 

Elazar

Link to comment
Share on other sites

Which page are you referring to? Everything I saw was in English. Maybe I'm being dense...it's very possible :P

 

I assume that you have 2 folders in your catalog/includes/languages/ directory...one for english and one for hebrew, right?

 

The problem of seeing someone else's categories is gone, is that right? I'm still happy to help, but I'm confused about what the new problem is >_<

 

644 is OK for the configure.php file. The language switch is not based in the configure file.

Link to comment
Share on other sites

Which page are you referring to? Everything I saw was in English. Maybe I'm being dense...it's very possible :P

 

I assume that you have 2 folders in your catalog/includes/languages/ directory...one for english and one for hebrew, right?

 

The problem of seeing someone else's categories is gone, is that right? I'm still happy to help, but I'm confused about what the new problem is >_<

 

644 is OK for the configure.php file. The language switch is not based in the configure file.

 

You are ok. :)

 

Yes I have 2 folders in your catalog/includes/languages/ directory...one for english and one for hebrew.

 

1. The problem of seeing someone else's categories is gone. thats right yes

 

2. visitors can't switch to english language.

 

3. visitors can't browse the categories.

 

What do you think happened :huh:

Link to comment
Share on other sites

Ok thanks. :)

 

For #3, try going to your admin tool, then click on configuration>>my store

 

Use Search-Engine Safe URLs (still in development) --> switch this to FALSE

 

Those don't work very well. The "ultimate SEO URL" contribution makes up for that nicely, though. It works, and since you're on an Apache server you'll be able to take full advantage of it's potential.

 

See if your category and/or product are accessible after changing that setting.

 

For #2,

 

I'm a little confused because everything I saw on your site was in english, but I wasn't able to see your product, so maybe I didn't see enough yet. ;)

Link to comment
Share on other sites

Ok thanks. :)

 

For #3, try going to your admin tool, then click on configuration>>my store

 

Use Search-Engine Safe URLs (still in development) --> switch this to FALSE

 

Those don't work very well. The "ultimate SEO URL" contribution makes up for that nicely, though. It works, and since you're on an Apache server you'll be able to take full advantage of it's potential.

 

See if your category and/or product are accessible after changing that setting.

 

For #2,

 

I'm a little confused because everything I saw on your site was in english, but I wasn't able to see your product, so maybe I didn't see enough yet. ;)

 

 

Hi mark ! you are genius my friend ! :thumbsup:

 

That fixed my problem. Thanks a lot !!

 

Regarding the categories, there are only few since it is a demo. But I will have to upload mass of products

and I installed easypopulate contrib. 2.78v but then I had some problem with some of the supported contrib. there like linda's contrib, seperate price.. etc. and someone offered me to use your version of easypopulate, and I am going to install it for sure. :)

 

I am a pc memory and other parts Importer/distributor located in Israel.

 

I really really grateful for your help. Please stay in touch pal !!! ;)

 

Regards,

Elazar

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...