faster is better than slow | Download Swift
+ Reply to Thread
Results 1 to 6 of 6

Thread: Error messages when installing Swift 5.19 theme

  1. #1


    Error messages when installing Swift 5.19 theme

    I've had Swift 5.19 running perfectly on a testing server for a while, but I've just tried activating the theme in Wordpress on another server and get the following series of error messages:

    Warning: copy() [function.copy]: open_basedir restriction in effect. File(/swift_default.jpg) is not within the allowed path(s): (/home/connexwn:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 71

    Warning: copy(/swift_default.jpg) [function.copy]: failed to open stream: Operation not permitted in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 71

    Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/swift_custom/timthumb.php) is not within the allowed path(s): (/home/connexwn:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 83

    Warning: fopen(/swift_custom/timthumb.php) [function.fopen]: failed to open stream: Operation not permitted in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 83

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 87

    Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/swift_custom/custom-style.css) is not within the allowed path(s): (/home/connexwn:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 91

    Warning: fopen(/swift_custom/custom-style.css) [function.fopen]: failed to open stream: Operation not permitted in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 91

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/connexwn/public_html/wp-content/themes/SWIFT-v5.19/admin/admin-core.php on line 95
    I've checked and the MySQL database user has full access rights to everything. What am I doing wrong?

  2. #2


    My webhost insists this is a "coding issue" and nothing to do with their server settings.

    We have checked provided errors and see that the path to files which should be opened is not correct. For example in first error we can see that script "admin-core.php" trying to open file with path '/images/default.jpg' , but this file is located in '~/public_html/wp-content/themes/SWIFT-v5.19/images/default.jpg' You should set correct path to need files in your script to fix these problems.
    All I've done is install Swift from the 'add themes' option in Wordpress and given (correct) FTP details. There's no reason why other themes should work and this one doesn't -- or why this theme works on another server but not this one.

    Aagh.

  3. #3


    open_basedir restriction in effect.
    Copy function is restricted on your server, ask your hosting company to remove the restriction. Tell them that SWIFT is used by thousands of people and it's not a coding issue.

  4. #4


    Thanks Satish. They're a slippery bunch - these web hosts. Hopefully they'll get their act together soon ..

  5. #5


    The saga continues. Think I might need a new webhost:

    "Hello,

    it's a theme issue. We've added debug info, and as you can see it tries to copy /home/connexwn/public_html/wp-content/themes/swift/images/default.jpg to /swift_default.jpg which is obviously incorrect, please check.

    Thanks "

  6. #6


    Quote Originally Posted by newsmonkey View Post
    The saga continues. Think I might need a new webhost:

    "Hello,

    it's a theme issue. We've added debug info, and as you can see it tries to copy /home/connexwn/public_html/wp-content/themes/swift/images/default.jpg to /swift_default.jpg which is obviously incorrect, please check.

    Thanks "

    what`s problem with this theme ? please specify it.
    Last edited by unicorn; 01-01-2012 at 05:18 PM.

+ Reply to Thread

Similar Threads

  1. Error while loading swift theme
    By Harman in forum Support
    Replies: 3
    Last Post: 12-21-2010, 08:48 PM
  2. Error on theme activation
    By Wallbanger in forum Support
    Replies: 3
    Last Post: 08-26-2010, 05:49 AM
  3. Error while installing theme
    By sujith in forum Bug report and suggestions.
    Replies: 8
    Last Post: 07-20-2010, 09:27 PM
  4. Error messages installing new version
    By DTrader9 in forum Bug report and suggestions.
    Replies: 3
    Last Post: 02-23-2010, 10:29 PM
  5. Swift Theme Options Error
    By Aspire21 in forum Bug report and suggestions.
    Replies: 5
    Last Post: 10-16-2009, 02:27 AM

Bookmarks

Posting Permissions

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