Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 02-01-2012 18:55:09

simion
Members
Registered: 02-01-2012
Posts: 5

Something just went wrong

I have had this script installed on our server for 3 years and now all of a sudden the URL's are messed up after clicking on a recipe.

The URL postes the domain name twice.. example:

http://www.ruthieskitchen.com/%22?p=category&cat=51%5c%22


I looked around a bit but I can not navigate to where it is causing the URL's to do this.
I even looked for files that may have been corrupted but no files have been touched sense the original install.

Can someone please guide me in the right direction here?

Offline

#2 03-01-2012 20:00:00

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: Something just went wrong

If you look at the source code, there are slashes in all of your paths. Looks like a server upgrade might have caused the issue? Can`t be sure to be honest.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 03-01-2012 21:04:04

simion
Members
Registered: 02-01-2012
Posts: 5

Re: Something just went wrong

no resent upgrades to the server... ( dedicated that I administer)
I looked at the DB tables for the file paths and URL's... nothing extra there.

Offline

#4 03-01-2012 21:06:56

simion
Members
Registered: 02-01-2012
Posts: 5

Re: Something just went wrong

Can you point me to the location in the file structure where i can find it?

Offline

#5 04-01-2012 07:02:57

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: Something just went wrong

Looks like its adding the slashes when it loads the data. Could be down to the magic quotes settings in the php.ini file, but I wouldn`t have thought so. Magic quotes on or off?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#6 09-01-2012 19:09:17

simion
Members
Registered: 02-01-2012
Posts: 5

Re: Something just went wrong

Magic quotes are on because of other scripts on the server, but has always been on.. Let me try and bypass that by turning them off in the htaccess. Will report back.. Just in case someone else runs into this.

Offline

#7 09-01-2012 19:24:04

simion
Members
Registered: 02-01-2012
Posts: 5

Re: Something just went wrong

Ok, that did it!! Thanks.

Open the .htaccess file and add this to it:
  php_flag magic_quotes_gpc off 
  php_flag magic_quotes_runtime off


That will resolve the issue

Offline

#8 09-01-2012 19:41:40

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: Something just went wrong

Ok, great. That won`t work on all servers, but glad its a fix for you.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy