• I attempted to move a WP website from my domain server to a friends; however I’m getting the following errors after transferring “wp-content” and selecting “Activate” on the Beauty theme:

    Warning: require_once(/home/content/j/o/s/joshruss/html/wp-content/themes/beauty/includes/functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/j/o/s/joshruss/html/wp-content/themes/beauty/functions.php on line 11

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/j/o/s/joshruss/html/wp-content/themes/beauty/includes/functions.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/j/o/s/joshruss/html/wp-content/themes/beauty/functions.php on line 11

Viewing 7 replies - 1 through 7 (of 7 total)
  • The error is with the theme you need to contact with theme developer

    you need to check whether this file exists on same location or not

    /home/content/j/o/s/joshruss/html/wp-content/themes/beauty/includes/functions.php

    From that, the theme isn’t installed correctly and is missing either a file, or some files.

    The file that the error is telling you about should be located at /wp-content/themes/beauty/includes/functions.php. That file isn’t there, so the theme is “complaining” (for want of a better description).

    I’d suggest that you re-upload all of your themes files again to make sure that they are all there.

    Thread Starter RobKane4u

    (@robkane4u)

    The reinstall of the Beauty and Clean template fixed that issue just like you said. Now the site is displaying (icutgrassllc.com), but the permalinks are playing up now. I changed to the htaccess file to read.write, changed the peramlinks to default then back to “post name”, but I cant seem to get past the 404 error. I changed the settings back to default for the time being until I can get things sorted out. Perhaps the htaccess file change takes time to propagate? Any other suggestions?

    Any changes to your .htaccess file should be instant – unless maybe if you’re running a caching plugin that’s interfering? What is the contents of your .htaccess file after you’ve set permalinks to post name?

    Thread Starter RobKane4u

    (@robkane4u)

    Below is what the .htaccess file looks like after engaging “Post name”. The only work around I came up with is to change the name of the page the is throwing the 404 to something other than “services”. I also stumbled on another issue with a plug in. I activated it and it threw several PHP errors. I will try to disable all plug ins and attempt to remove the faulty plug in. If that doesn’t take down the site, then I will try again because I need to update WordPress.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # BEGIN wtwp_cache
    <IfModule mod_mime.c>

    # Text
    AddType text/css .css
    AddType application/x-javascript .js
    AddType text/html .html .htm
    AddType text/richtext .rtf .rtx
    AddType text/plain .txt
    AddType text/xml .xml

    # Image
    AddType image/gif .gif
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType image/png .png
    AddType image/svg+xml .svg .svgz

    # Video
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType video/quicktime .mov .qt
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe

    # PDF
    AddType application/pdf .pdf

    # Flash
    AddType application/x-shockwave-flash .swf

    # Font
    AddType application/x-font-ttf .ttf .ttc
    AddType application/vnd.ms-fontobject .eot
    AddType application/x-font-otf .otf

    # Audio
    AddType audio/mpeg .mp3 .m4a
    AddType audio/ogg .ogg
    AddType audio/wav .wav
    AddType audio/wma .wma

    # Zip/Tar
    AddType application/x-tar .tar
    AddType application/x-gzip .gz .gzip
    AddType application/zip .zip
    </IfModule>

    <IfModule mod_expires.c>
    ExpiresActive On

    # Text
    ExpiresByType text/css A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xml A3600

    # Image
    ExpiresByType image/gif A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType image/png A31536000
    ExpiresByType image/svg+xml A31536000

    # Video
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000

    # PDF
    ExpiresByType application/pdf A31536000

    # Flash
    ExpiresByType application/x-shockwave-flash A31536000

    # Font
    ExpiresByType application/x-font-ttf A31536000
    ExpiresByType application/vnd.ms-fontobject A31536000
    ExpiresByType application/x-font-otf A31536000

    # Audio
    ExpiresByType audio/mpeg A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000

    # Zip/Tar
    ExpiresByType application/x-tar A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType application/zip A31536000
    </IfModule>
    <FilesMatch “\.(?i:css|js|htm|html|rtf|rtx|txt|xml|gif|ico|jpg|jpeg|jpe|png|svg|svgz|asf|asx|wax|wmv|wmx|avi|mov|qt|mp4|m4v|mpeg|mpg|mpe|pdf|swf|ttf|ttc|eot|otf|mp3|m4a|ogg|wav|wma|tar|gz|gzip|zip)$”>
    <IfModule mod_headers.c>
    Header set Pragma “public”
    Header append Cache-Control “public, must-revalidate, proxy-revalidate”
    Header unset ETag
    </IfModule>
    </FilesMatch>
    <FilesMatch “\.(?i:css|js|gif|ico|jpg|jpeg|jpe|png|pdf|swf|ttf|ttc|eot|otf)$”>
    <IfModule mod_headers.c>
    Header unset Set-Cookie
    </IfModule>
    </FilesMatch>
    # END wtwp_cache

    # BEGIN wtwp_security
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^wp-admin/includes/ – [F,L]
    RewriteRule !^wp-includes/ – [S=3]
    RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
    RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
    RewriteRule ^wp-includes/theme-compat/ – [F,L]
    </IfModule>
    <Files “wp-config.php”>
    Order allow,deny
    Deny from all
    </Files>
    Options -Indexes
    # END wtwp_security

    The WordPress part of that looks fine. The rest… probably OK, but it’s not something that I’m going to be able ot spend the time to go through.

    It looks like you’re running a caching plugin, and that’s most likely the cause of thse issues. You should look at either disableing the cache, clearing the cache, or disabling the pluign to see if that makes a differnce. You might need to re-do your permalink settings again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Failed to open stream’ is closed to new replies.