Need Help w/ PHP Issue

Discussion in 'PHP' started by michaelgrisso, Jun 5, 2010.

  1. #1
    I am an idiot when it comes to this stuff and wondered if someone can help me. I just purchased a domain and hosting, used an FTP to upload all my files, but when I go to the domain it tells me:

    "This is your current default homepage; it has been setup with your new account. To update this Under Construction page, please replace your index.htm file."

    Now according to the files I uploaded it did not come with an index.html but an index.php. I even removed the index.html, but that didn't work and I have no idea what I need to do.

    Even if you don't have the answer, but a few suggestions I will take the time to try them.

    Thanks a lot~
     
    michaelgrisso, Jun 5, 2010 IP
  2. rebelagent

    rebelagent Well-Known Member

    Messages:
    876
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    165
    #2
    so there's no index.html file in your folder?
    What host do you have?
     
    rebelagent, Jun 5, 2010 IP
  3. michaelgrisso

    michaelgrisso Active Member

    Messages:
    296
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    Articles:
    1
    #3
    Well there is again, but I took it out to see if there was a difference. However, I installed files for to create an article directory. This did not have an index.htm, but an index.php. I am using a place called Value Web, but the domain is www.articleasset.com if you want to see what they put up there as a default. Not sure if it makes a difference, but this is definitely not my area of expertise.

    Hey, appreciate you taking the time. Thanks...
     
    michaelgrisso, Jun 5, 2010 IP
  4. cshwebdev

    cshwebdev Active Member

    Messages:
    226
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Your server will automatically will find the index file, be it index.htm, index.html or index.php. The index file is the first file the server looks for if no other file is requested.

    Looking at your site now its a 403, if you deleted the index.htm page and didn't upload any other pages than its just a small HTACCESS trick telling us that the file doesn't exist but yet they don't want to show us the raw folder directory.

    Upload all your files (including the index.php) and it should work.
     
    cshwebdev, Jun 5, 2010 IP
  5. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    You must have an index.php or something to work
    Else have a look in .htaccess that may help you whether .htaccess has anything to play with
     
    roopajyothi, Jun 5, 2010 IP
  6. qrpike

    qrpike Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Only if it has PHP installed, is it an ASP.NET server? There has be an index.html,htm,php (for php server)

    www.scripteen.com
     
    qrpike, Jun 6, 2010 IP
  7. michaelgrisso

    michaelgrisso Active Member

    Messages:
    296
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    Articles:
    1
    #7
    Thanks everyone for the help. Evidently I needed something called; Ioncube free something line 5.2. I eventually called technical support again and had them take a look at it. I received an email stating that the issue was resolved, but there were more problems that occurred in the process that are beyond what their technical support is supposed to offer. Unfortunately I don't have the time to try and figure all this out on my own, so maybe someone can help me or I need to hire someone.

    Below you will find a list of issues that come up now:


    Warning: include(config.php) [function.include]: failed to open stream: No such file or directory in /home/vg005web04/03/31/3033103/web/index.php on line 19

    Warning: include(config.php) [function.include]: failed to open stream: No such file or directory in /home/vg005web04/03/31/3033103/web/index.php on line 19

    Warning: include() [function.include]: Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/vg005web04/03/31/3033103/web/index.php on line 19

    Fatal error: Call to undefined function get_articlecount() in /home/vg005web04/03/31/3033103/web/index.php on line 128


    Thanks for taking the time to look at it. Also, the website is www.articleasset.com if you want to click on the function.include links
     
    michaelgrisso, Jun 7, 2010 IP
  8. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #8
    Oops!
    You don't have a config file in your server it seems!
    Also ioncube can be loaded in your serve by asking your hosting company to do that :)
    And undefined function get_articlecount() says that you have not defined a function with named get_articlecount()
    If you still need help must PM me!
     
    roopajyothi, Jun 8, 2010 IP
  9. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #9
    some developers may include installation for easy use and you may have just uploaded the script, so can you look for install directory...
     
    gapz101, Jun 8, 2010 IP
  10. silviuks

    silviuks Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    you don't have the config.php file, or the path to the file is not correct ...
     
    silviuks, Jun 9, 2010 IP
  11. michaelgrisso

    michaelgrisso Active Member

    Messages:
    296
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    Articles:
    1
    #11
    I appreciate all the help :) Thanks
     
    michaelgrisso, Jun 10, 2010 IP