Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 11. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Warning: main(): SAFE MODE Restriction in effect

phpMyEdit Installation     Warning: main(): SAFE MODE Restriction in effect
Odoslať novú tému   Odpovedať na tému    
 
ferdia     Založený: 05.10.2003   Príspevky: 1  
Príspevok Zaslal: 2003-10-05 13:05
Návrat hore  Odpovedať s citátom     

After running phpMyEditSetup.php and selecting my tabel which is newsletter in this case. Line 195 of the newsletter.php scripts is as follows:
require_once 'phpMyEdit.class.php';

When i run the newsletter.php that was generated i got the following warnings/errors:

Does anyone know what the problem may be.

newsletter

Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 99 is not allowed to access ./phpMyEdit.class.php owned by uid 614 in ...../phpMyEdit/newsletter.php on line 195

Warning: main(phpMyEdit.class.php): failed to open stream: Success in ...../phpMyEdit/newsletter.php on line 195

Fatal error: main(): Failed opening required 'phpMyEdit.class.php' (include_path='.:/usr/local/lib/php') in ...../phpMyEdit/newsletter.php on line 195

Thanks.[/b]

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2003-10-05 17:02
Návrat hore  Odpovedať s citátom     

are both of your files (phpMyEdit.class.php and configuration file) of the same owner ? both of them should be readable/exucutable by user www.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-12-04 20:36
Návrat hore  Odpovedať s citátom     

You calling script was written by webserver, thus its UID/GID are different that your user UID/GID. When calling script wants to access phpMyEdit core class file, PHP SAFE MODE will forbid this.

Try to create your calling script using copy/paste from web browser.

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov