Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    help question Urgent help needed - server not loading index.php unless typed in directly

    i get the following message when i click home on my live site

    Forbidden

    You don't have permission to access /odinsminiatureshop/ on this server.

    the web browser displays
    http://www.odinsminiatures.com/odinsminiatureshop/

    and it should have index.php at the end

    Can someone help me out and tell me what file i need to edit and where to add index.php please.
    As customers cannot return to my homepage without pressing back they just get forbidden message.

    thanks

    michelle

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    Your site's acting as though there's another index file in your root directory which is interfering with the index.php

    Check your odinsminiatures.com/odinsminiatureshop/ folder for any other files called index.htm or index.html or index.xxx There should only be one index file in there.

  3. #3
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    firstly thankyou for helping me.

    Ok i looked in the file you said
    and in the odinsminiatureshop file there was no index.html at all, but i found one in each if the folowing folders

    editors
    email
    extras
    images
    media
    includes
    includes/loaders
    includes/cartactions
    public
    downloads
    docs

    should these be there or should i delete them all.

    Michelle

  4. #4
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    Quote Originally Posted by michelleodin View Post
    Can someone help me out and tell me what file i need to edit and where to add index.php please.
    As customers cannot return to my homepage without pressing back they just get forbidden message.
    It looks like your site is not set to automatically load the index.php file if a directory index is requested. Probably the simplest thing to do is to raise a support ticket with your hosting company and ask them to set index.php to auto load on directory index.

    Regards,
    Christian.

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    Quote Originally Posted by michelleodin View Post
    should these be there or should i delete them all.
    They should all be there.

    Regards,
    Christian.

  6. #6
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    Thank you for replying, the page was working ok so i think the permissions are set ok with my provider, but im just a learner at this stuff so im just trying a restore from a backup i made in December hopefully that will work.
    If not i might have to do the site again from scratch, as its so annoying when a visitor to the site cannot navigate ok.

    Regards
    Michelle

  7. #7
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    The file reads odinsminiatureshop/

    but it should say odinsminiatureshop/index.php
    the index.php is missing from the end
    i just wondered what file i would need to alter and how to do it.

    The page loaded ok before but i cant remember if it stopped working after doing some mods on the site.

    michelle

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    As CJPinder said, you need to raise a ticket with your hosting company because your site is not automatically finding the index.php file like it's supposed to.
    They'll have to adjust your server's apache configuration to look for index.php as the default document if none is specified on the URL.

    While you could do it with .htaccess changes yourself, it sounds like you should really be having your hosting company look after server-related things for you.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    Ok thank you so much i will raise this with my host now.



    Regards

    Michelle

  10. #10
    Join Date
    Jul 2007
    Posts
    41
    Plugin Contributions
    0

    Default Re: Urgent help needed - server not loading index.php unless typed in directly

    my host reccomended i remove .htaccess so i did and it worked is this a safe thing to do or is my site at risk of being hacked.

    regards

    michelle

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. index.php?main_page=checkout_shipping_address not loading?
    By joeyjoe in forum General Questions
    Replies: 2
    Last Post: 16 Sep 2011, 02:10 PM
  2. index.php not loading in my 1.39
    By pixelpadre in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 15 May 2010, 08:10 PM
  3. URGENT Help needed! Internal Server Error problem...
    By nas111 in forum General Questions
    Replies: 1
    Last Post: 22 Dec 2009, 03:45 PM
  4. Index.php not loading on the domain address
    By Benjamin654 in forum General Questions
    Replies: 3
    Last Post: 27 Oct 2009, 11:17 PM
  5. index.php in root not loading
    By cobrakai20 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 27 Mar 2009, 09:44 PM

Posting Permissions

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