Fin
Fault after installation
  • Envoyé: 23.03.2004, 13:51
    Invité
    rang:
    1
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    06.03.05
    Messages:
    0
    After installation of the weather 1.30 module, and installation of weather pagage for Denmark, im getting this fault:

    Warning: weather_userapi_getall() [function.weather-userapi-getall]: open_basedir restriction in effect. File(/usr/local/lib/php/weather.class.php) is not within the allowed path(s): (/STORE/parazone_dk) in /STORE/parazone_dk/public_html/modules/weather/pnuserapi.php on line 601

    Warning: weather_userapi_getall(weather.class.php) [function.weather-userapi-getall]: failed to create stream: Operation not permitted in /STORE/parazone_dk/public_html/modules/weather/pnuserapi.php on line 601

    Fatal error: weather_userapi_getall() [function.weather-userapi-getall]: Failed opening required 'weather.class.php' (include_path='.:/usr/local/lib/php') in /STORE/parazone_dk/public_html/modules/weather/pnuserapi.php on line 601

    What is wrong???????
  • Envoyé: 24.03.2004, 13:43
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    09.10.08
    Messages:
    266
    Hello,
    This is caused by a bug in the 1.30 version (but I missed it because it works most servers including mine !)
    So as a temporary fix, please make the following changes (2 files to update). I assume that the module directory name is weather as in the released zip archive.

    change #1 : in pnuserapi.php look for the line (it is line 601) :
    Code
    require_once("weather.class.php");
    and replace it with :
    Code
    require_once("modules/weather/weather.class.php");
    change #2 : in weather.class.php look for the line
    Code
    require_once("snoopy.class.php");
    and replace it with :
    Code
    require_once("modules/weather/snoopy.class.php");


    In the following version I will correct this problem and replace the hardcoded module name (weather) with a call to pnModGetInfo just to be sure it will work with every path.

    Let me know if you still have any problem.

    Happy postnuking.

    Your Name/pseudo sound familiar to any aquarist icon_lol icon_lol
  • Envoyé: 05.04.2004, 11:10
       
    aulbjerg
    enregistré depuis:
     avril 2004
    Status:
    hors ligne
    dernière visite:
    05.04.04
    Messages:
    1
    Thank you very much!!!
    [quote:d975381d28]Your Name/pseudo sound familiar to any aquarist[/quote]
    What is the familiar with my name?? :D
    /Jacob
  • Envoyé: 05.04.2004, 11:43
       
    vedrine
    rang:
    Site Admin Site Admin
    enregistré depuis:
     décembre 2003
    Status:
    hors ligne
    dernière visite:
    09.10.08
    Messages:
    266
    I said that because a man whose name was Alf jacob Nielsen invented the "calk reactor" that reef aquarists across the world use to add calcium to their tanks. He is also the author with Svein A Fossa of a very beautiful collection of books about reef aquaria : "The modern Coral Reef aquarium" (Korallrevsakvariet)
Réponse rapide
 
  • Options
Code:
Couleur de la police:  
Taille de la police: