A complete mystery

I am/was working on a website which I normaly first test on my own server. So yesterday the client decided that the site could go live, which I did!! Now the scarry part. I have a page showing the different categories fom a restaurant. Clicking one of the categories will bring up all dishes in that category. In the test page on my server everything works fine as you can see here. All categories are loading! But on the original site on the clients server only the first 4 categories are loading on click as you can see [URL=“http://www.fanskitchen.nl/en/fanskitchen-menukaart.php”]here. The pages, includes, database etc on clients server are an exact copy of the ones on my server. The only difference is the database host.

I really don’t have an idea what is going on?

Check your error log. Could be case sensitivity on live server that wasn’t noticed on a test server, for example Table name Category and script is looking for category or something like that.

Hi Drummin. The test server is alive server as well. By the way there is an other page for takeaway menus and that one is working fine

Don’t see the live site now. Was it just the categories with & in the name not showing? How are they stored? As plain &?

Hi Drummin. The site is live as you can see here. Try to click on the bottom 4 menu items e.a. (Vegetarian, Poultry, Meat and Seafood). They are not loading. While on the temp site I have on my own server they are as you will see [URL=“http://fanskitchen.sothenwhat.com/en/fanskitchen-menukaart.php”]here. Like I said everything on the clients website is an exact copy of what is on my server.

All you can do is add some logging into your PHP to trace stuff through and see what’s failing. It’s not the ‘&’ as the categories are passed as menu_id, but without seeing the code it’s hard to guess what might be going wrong. Live and test site aren’t exactly the same for me, though, the images differ at the least. Is there something different in the two configs that might be causing it?

You are right there. Client probably have changed some of the images in the gallery. But for the rest everything is the same!

Getting
GET http://www.fanskitchen.nl/modules/site/menu_items.php?menu_id=8&lang=en 500 Internal Server Error 265ms

All those & should be & on menu links, e.g.

<li><a href='../modules/site/menu_items.php?menu_id=2&amp;lang=en' class='' title=''>Sushi &amp; Sashimi</a></li>

And for the euro sign you might try

&euro;

instead of �

&#128;

I get error:

A numeric character reference expanded to the C1 controls range
when using �

It’s interesting that I can’t post the actual code with code tags… 128
Use

&euro;