I've started by changing $this->aPages[$aExp[0]]['sLinkName'] = strrchr($_SERVER['SCRIPT_NAME'],"/").'?'.$sLanguageUrl.change2Url( $this->aPages[$aExp[0]]['sName'] ).','.$aExp[0];
Ann, instead of messing up with $_server, why not hardcode it in the 1st place: $this->aPages[$aExp[0]]['sLinkName'] = 'CleanInstall/index.php'.'?'.$sLanguageUrl.change2Url( $this->aPages[$aExp[0]]['sName'] ).','.$aExp[0];
Please let me know what changed.
Ann
2009-09-18 17:50
Hey cgan, I checked in each directory where QuickCart is set up and there are no .htaccess files.
beholder: So I've changed the line from $this->aPages[$aExp[0]]['sLinkName'] = $_SERVER['SCRIPT_NAME'].'?'.$sLanguageUrl.change2Url( $this->aPages[$aExp[0]]['sName'] ).','.$aExp[0];
look, this could all be a problem for QC installed in a subdirectory CleanInstall. If you do this modification for the QC that you have in your main directory, perhaps this would be gold: $this->aPages[$aExp[0]]['sLinkName'] = '/index.php'.'?'.$sLanguageUrl.change2Url( $this->aPages[$aExp[0]]['sName'] ).','.$aExp[0];
Then you just have to go through shop ordering stuff, doing the administration, uploading pics, and while doing that just search for similar errors that you had in the beginning. Perhaps the script needs to change in other places too.
-----------
But your server is still way too f#&$^ed for normal operation, so you should definitely contact your server admin and report the original problem. Let me repeat it one more time, your server is not configured to accept requests with simple ?, like for example: http://expressradio.com/?search-results,19&sPhrase=ddd What only works on your server is this: http://expressradio.com/index.php?search-results,19&sPhrase=ddd
Ann
2009-09-21 16:52
beholder - thank you for helping me with this headache. I have told them about the problem that you pointed out and they really didn't understand what I was talking about so I'll bring it up to them again. I guess for now, I'll attempt moving everything to the main directory and pray it all runs smoothly.
Let's hope The Matrix ('they') will sort this out eventually.
Ann
2009-09-30 14:32
LoL Okay, well, I've switched not only hosting companies but I've switched from a Windows server that was supposed to be able to handle php to a Linux server.
I've deleted the Clean Install directory but I still have the Cop Shop directory.
I am happy to report that the searchbar is now working :)
this is the correct answer for semi-retarded server setting that some 'providers' give their customers. Other please note the confident satisfaction Ann has after changing the hosting service to one with Linux server.