Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Error with the Flash_Realestate Template

  1. #1
    Join Date
    Apr 2005
    Posts
    10

    Default Error with the Flash_Realestate Template

    Receiving this error :
    Warning: main(): open_basedir restriction in effect. File(/style.php) is not within the allowed path(s): (/home/www:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/www/realty/include/common.php on line 63

    Warning: main(/style.php): failed to open stream: Operation not permitted in /home/www/realty/include/common.php on line 63

    Warning: main(): open_basedir restriction in effect. File(/style.php) is not within the allowed path(s): (/home/www:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/www/realty/include/common.php on line 63

    Warning: main(/style.php): failed to open stream: Operation not permitted in /home/www/realty/include/common.php on line 63

    Warning: main(): Failed opening '/style.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/www/realty/include/common.php on line 63

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/realty/include/common.php:63) in /home/www/realty/include/main.php on line 4

    Anyone know what the fix is?

  2. #2
    Join Date
    Jul 2003
    Location
    California
    Age
    43
    Posts
    4,229

    Default

    in your common.php make sure your basepath and baseurl settings are correct.

    Your basepath should be the following:

    /home/www/realty
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  3. #3
    Join Date
    Apr 2005
    Posts
    10

    Default

    Hi, thanks for your reply. My path is actually

    /home/www/public_html/realty

    It opens the template but those errors still occur above the header. Any thoughts?

    http://www.nubirth-financial.com/realty/
    Last edited by glendo; 05-01-2005 at 06:55 AM.

  4. #4
    Join Date
    Mar 2005
    Location
    Dallas, GA
    Age
    42
    Posts
    36

    Default Style.php

    It looks as if the Style.php file is missing or is not the correct file for the template you are using. Try locating the correct Style.php file and placing it in the directory with the template.

    Carl
    CVs Web Design

  5. #5
    Join Date
    Apr 2005
    Posts
    10

    Default

    I'll try that, thanks.

  6. #6
    Join Date
    Apr 2005
    Posts
    10

    Default

    I tried that, I moved the style.php around and uploaded another on from the zip file, still no success.

  7. #7
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    49
    Posts
    9,796

    Default

    Did you update the template path/url in common.php for the new template?

  8. #8
    Join Date
    Feb 2005
    Posts
    1

    Default

    add this line (around line 63) in common.php

    include($config['template_path'].'/style.php'); // style definitions

  9. #9
    Join Date
    Apr 2005
    Posts
    10

    Default

    Yes, that is already defined in the common.php file.

  10. #10
    Join Date
    Apr 2005
    Posts
    10

    Default

    I comented out the style.php and the template now is ok.
    But now this error is rendered.
    Fatal error: Call to undefined function: renderfeaturedlistingsvertical() in /home/nubirth/public_html/realty/index.php on line 8

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
  •