website index file problem. help please

Mawathagama

Well-known member
  • May 5, 2016
    6,399
    3,053
    113
    mama domain ekak gaththa. 000webhost eke free acc ekak open kara. WordPress install kara direct download karala upload karala.
    podi webpage ekak haduwa.
    dan mama website ekata yanna hadaddi mehema enawa.


    Hooray, your free website has been started!

    You see this page because your website doesn't have "index.php" or "index.html" file in public_html folder.
    Create index file
    Below you can see your current files in public_html folder.


    menna mehemayi files thiyenne. folders open karapu piliwelata:

    de7Gp6c.jpg


    AP9qsRI.jpg


    YrVrbv4.jpg


    QVEErYS.jpg



    me file manager eke baladdi udama folder eka.

    Y0j27du.jpg


    danna kenek poddak kiyapallako mokadda karanna ona kiyala.
    mama index file eka uda public html folder eka dammahama error message ekak enawa.

    " Warning: require(/storage/ssd2/067/2679067/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /storage/ssd2/067/2679067/public_html/index.php on line 17

    Fatal error: require(): Failed opening required '/storage/ssd2/067/2679067/public_html/wp-blog-header.php' (include_path='.:/usr/share/pear:/usr/share/php') in /storage/ssd2/067/2679067/public_html/index.php on line 17"
     
    • Like
    Reactions: Mr Krrish

    After_math

    Well-known member
  • Nov 16, 2009
    9,952
    617
    113
    31
    .::ıɹıʞɐlǝ::.
    index file eka empty wage ne :confused:
    ftp walin connect wela index.php open karala balapan me code eka thiyanawada kiyala

    Code:
    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );
     

    The_Killer

    Well-known member
  • Jan 20, 2014
    11,051
    2,196
    113
    WA, Straya 🇦🇺🦘
    www.elakiri.com
    FTP වලින් public_html folder එකට යන්න. දැන් අර wordpress-4.8.1 කියන එක අස්සේ තියෙන wordpress folder එකටත් යන්න. ගිහින් එතන තියෙන ඔක්කෝම ෆයිල්ස් ටික move කරන්න ආයෙත් අර ftp වලින් ගියපු ගමන්ම පේන location එකට. ඒ කියන්නේ wordpress-4.8.1 තියෙන තැනට. පස්සේ wordpress-4.8. කියන folder එක delete කරන්න.
     

    Lakshan-Seram

    Well-known member
  • May 31, 2011
    24,714
    12,619
    113
    127.0.0.1:8080/Kandy
    Basically, site ekak host karanakota main domain ekata adala file okkoma tiyenna one root (public_html) folder eke. index file ekath meke tiyenna one.


    So, wordpress directory ekata gihin eke tiyena files okkoma move karanna public_html folder ekata. eka thama lesima wede