Results 1 to 6 of 6

my problem and my fix

This is a discussion on my problem and my fix within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; First off, for my fix. Lots of people recommeneded that I add a few lines to a .htaccess file and ...

      
  1. #1
    Lurker
    Join Date
    Dec 2007
    Posts
    1
    Rep Power
    0


    Default my problem and my fix

    First off, for my fix. Lots of people recommeneded that I add a few lines to a .htaccess file and upload it so that I could turn on register globals. However, my site and all subdomains went down with a Error 500. So, after talking to my hosting company they suggested a fix. It was a long shot but it works. Only draw back is that I would need to add it to any folder that would be accessed.

    Whats this fix? simple. Create a txt file on your desktop, open it, and copy and paste this into it:

    register_globals = On


    Don't save it by using Ctrl+S. Do File, Save As.., and name it:
    php.ini

    Upload it where ever it's needed. Especially in where index.php resides for the site and /admin folder.

    My Problem is this. At the top of my site it reports that it can read and access the configure.php file. However it's been chmod to 444.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: my problem and my fix

    Go yet lower on the permissions... Try 440 or even 400 and test to make sure it doesn't break your site in the process.

    Your other option is to check ownership, and make sure the user and group are not the webserver, or no matter what permissions it will report it is acessable.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Dec 2007
    Posts
    1
    Rep Power
    0


    Smile Re: my problem and my fix

    Thank you for helping me fix my problem. Here is how to fix yours:

    1. Log into you websites cpanel
    2. Click on File Manager (a new window will open)
    3. Click on the folder next to the includes directory
    3. Click on configuration.php
    4. In the right corner you will then see a Set Permission, click on that and unselect Write.
    5. Click on Save

    Thats it. Your problem is fixed. If you need anymore help please repost.

  4. #4
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default Re: my problem and my fix

    As of PHP 6 we will have no choice.
    Register globals will be on.
    Is osCMax ok with register globals = on?
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default Re: my problem and my fix

    osCMax has no problem with register globals being on.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    New Member
    Join Date
    Dec 2004
    Posts
    10
    Rep Power
    0


    Default Re: my problem and my fix

    This is the easiest and biggest fix ever for the register global problem
    thanks

Similar Threads

  1. Email problem on webmail n aslo cupons problem
    By jikey in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 10-26-2006, 12:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •