Hey guys,

I've all of a sudden stumbled upon this issue. Started out fine which is why i am kinda stumbled. I've installed osticket and other scripts under sub-dirs of a drupal install. It was all working fine until today, whenever i go to site.com/script1, it shows page not found. This did NOT exist before this. Any ideas anyone?

Rgrds,
-AOS.

Comments

Raf’s picture

There's not alot of info to go on, so I'll go with my gut feeling on this. You might want to check if your site has paths (like node/*) that might conflict. If you go into subdirectories, normally it should just load those subdirectories. There's no bootstrapping or such going on. Now, if Drupal knows that the path yoursite/scripts exists, and the file you're trying to access, is in, eg. yoursite/scripts/yourscript.php, the .htaccess in your root folder will kick in. It'll think that you're trying to access a Drupal path instead of a system path, and passes it on to Drupal. Drupal then looks into its database for a matching page, but can't find it. Hence the page not found error.

So, best to check if your site has a path configured that might conflict with the path you're trying to access.

alifopensrc’s picture

Hi Raf,
Thanks for the quick reply. I had some environment issues after playing with PHP extensions i know nuts about in the easyapache. Re setup my VZCP container and only enabled PHP extensions necessary. And its now ok. Basically i did everything from scratch.

Thank you once again.

Rgrds.
-AOS.