11
cabdi_uk
Re: Many problems with modules
  • 2009/1/13 23:33

  • cabdi_uk

  • Just popping in

  • Posts: 28

  • Since: 2007/6/12


Thank you very much Ghia and Stefan.

12
cabdi_uk
Re: Many problems with modules
  • 2009/1/13 23:38

  • cabdi_uk

  • Just popping in

  • Posts: 28

  • Since: 2007/6/12


Not sure where my previous posting is gone.

Thank you very much Ghia and Stefan for your helpful comments.

I removed the custom modules I created and its all working now. Much appreciated.

Ghia, as per your enquiry, all I have put in the .htaccess file is:

php_flagregister_globals
off

I edited it in notepad but saved as .htaccess before copying it to htdocs\ my web site crashes with the error message below:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

13
stefan88
Re: Many problems with modules
  • 2009/1/14 6:49

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


Hi,


it should be:

php_flag register_globals off
..

14
cabdi_uk
Re: Many problems with modules
  • 2009/1/14 23:56

  • cabdi_uk

  • Just popping in

  • Posts: 28

  • Since: 2007/6/12


I have copied this (php_flag register_globals off ) onto a notepad and saved it as .htaccess. I uploaded the file onto my htdocs\ folder as this is my only directory and again got the same error message. Thanks for your efforts - I will appreciate if you can help.

15
ghia
Re: Many problems with modules
  • 2009/1/15 0:36

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is possible that you may not override it or that a module behave badly when it is off.
Make a file called eg info.php containing this code:
<?php phpinfo(); ?>

and place it in your XOOPS directory. When you run it, it will give you the status for 'AllowOverride'.
When you are done, delete it!
Can you run this program when your .htaccess is in place?
Can you get an image file of XOOPS (eg /uploads/smil42e7a3d4c7b9f.gif) when your .htaccess is in place?

16
cabdi_uk
Re: Many problems with modules
  • 2009/1/15 1:04

  • cabdi_uk

  • Just popping in

  • Posts: 28

  • Since: 2007/6/12


Thanks Ghia.

I have created the info.php file and copied to the XOOPS directory. I could access the file Iinfo.php giving me lots of information about the server configuration, etc) even with the
.htaccess file uploaded though i could not access any of teh images within uploads folder or even the main web site. I get the error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


17
cabdi_uk
Re: Many problems with modules
  • 2009/1/15 1:06

  • cabdi_uk

  • Just popping in

  • Posts: 28

  • Since: 2007/6/12


Ghia, in addition to that I have logged a call with my hosting provider, network solutions in the states and requested to allow me to edit a .htaccess file but not getting any feedback.

Login

Who's Online

72 user(s) are online (41 user(s) are browsing Support Forums)


Members: 0


Guests: 72


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits