Title: jonbw12's Replies | WordPress.org

---

# jonbw12

  [  ](https://wordpress.org/support/users/jonbw12/)

 *   [Profile](https://wordpress.org/support/users/jonbw12/)
 *   [Topics Started](https://wordpress.org/support/users/jonbw12/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jonbw12/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jonbw12/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jonbw12/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jonbw12/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jonbw12/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Fatal Error](https://wordpress.org/support/topic/fatal-error-246/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-246/#post-1862922)
 * Well looking at it, my index.php is normal on the outside as this is above my
   folder name, so that I don’t have the folder name at the end of the website as
   I had to create a copy of index.php file in root. In the actual document there
   is another index.php, however this is different and it looks like this when I
   have looked into it.
 *     ```
       <?php
       /**
        *
        */
       genesis();
       ```
   
 * I have no idea how this has got into here, however in the past when I have deleted
   a file I usually got a 404 error and had to reinstall wordpress as it was so 
   aggrevating. Should I delete this folder and put the original wordpress index.
   php into here? Bearing in mind I have an index.php on the outside which has the
   following which is correct:
 *     ```
       <?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('./jonbw/wp-blog-header.php');
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Fatal Error](https://wordpress.org/support/topic/fatal-error-246/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-246/#post-1862861)
 * I have deactivated all the plugins as I only had two installed, I have reverted
   back to the twentyten and deleted the other themes on filezilla, however I still
   get the message when I go into any category or page on my site.
 * Fatal error: Call to undefined function genesis() in /home/freedomw/public_html/
   jonbw/index.php on line 5
 * On the twentyten theme? I can access the page and that appears fine, its the 
   pages and catergories within the themes which is the issue.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Index of/](https://wordpress.org/support/topic/index-of-1/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/index-of-1/#post-1806834)
 * Govpatel…. THANKYOU!!!!!!! I have done it, after all the hours, it was just that
   simple… I just wanted to thankyou. I made the copy but what I was doing was dragging
   the file and it says copy on your cpanel. So anyways thankyou once again and 
   hope to be in contact again. Do you have a site that I can refer to incase I 
   need some help again?
 * Jon.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Index of/](https://wordpress.org/support/topic/index-of-1/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/index-of-1/#post-1806802)
 * Cheers for your help [@govpatel](https://wordpress.org/support/users/govpatel/),
   however I am still getting the:
 * Parse error: syntax error, unexpected ‘/’ in /home/freedomw/public_html/jonbw/
   index.php on line 17
 * My directory has changed and I can type in ‘www.freedomwealthincome.com without
   the jonbw at the end, however I can’t login to my admin page.
 * Below is my Index.php that I altered within cpanel.
 * <?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](https://wordpress.org/support/users/package/) WordPress */
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require(‘./jonbw/wp-blog-
   header.php’);
 * Hope you can help again,
 * thanks
 * Jon.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Index of/](https://wordpress.org/support/topic/index-of-1/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/index-of-1/#post-1806772)
 * I have gone onto this website: [http://singhmadhuri.wordpress.com/2009/09/07/migrating-wordpress-from-root-to-subdirectory-on-webhost/](http://singhmadhuri.wordpress.com/2009/09/07/migrating-wordpress-from-root-to-subdirectory-on-webhost/)
 * and followed everything, however I am now getting this error:
 * Parse error: syntax error, unexpected ‘/’ in /home/freedomw/public_html/index.
   php on line 17
 * I moved the .htaccess and index.php in FTP ontop of the public_html, but I don’t
   know if there is a problem with (‘./foldername/wp-blog-header.php’); what I have
   entered?
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Index of/](https://wordpress.org/support/topic/index-of-1/)
 *  Thread Starter [jonbw12](https://wordpress.org/support/users/jonbw12/)
 * (@jonbw12)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/index-of-1/#post-1806765)
 * Hey guys I am trying these leads, @ Rich ‘elfin’ Pedley this is understandable
   to an extent, I had to look at other resources and it does make sense but I am
   still struggling with it.
 * @ govpatel, I am looking into this as this makes abit more sense, however as 
   I am considered a newbie, where abouts in Cpanel would you go? Also I have added(‘./
   foldername/wp-blog-header.php’); in my Index.php, using notepad.
 * I am right putting the folder that pops up when its on the index of/ screen?
 * Jon

Viewing 6 replies - 1 through 6 (of 6 total)