z plikiem translations.txt o zawartości:
Kod: Zaznacz cały
index.html index.php?module=obrazy&action=zdjecie
/ index.php?module=obrazy&action=zdjecie
/a/b/c/d index.php?module=obrazy&action=zdjecie
no i tu zaczynają się schody jak nie mam pliku .htaccess w katalogu www strona działa tylko pod adresem
Kod: Zaznacz cały
bla bla bla/www/
Kod: Zaznacz cały
bla bla bla/www/index.php i bla bla bla/www/a/b/c/d/
Kod: Zaznacz cały
Warning: require_once(modules/main/actions.class.php): failed to open stream: No such file or directory in /home/vermer/public_html/hello/scripts/Controller.class.php on line 91 Fatal error: require_once(): Failed opening required 'modules/main/actions.class.php' (include_path='../scripts:../scripts/include:.:/usr/share/php:/usr/share/pear') in /home/vermer/public_html/hello/scripts/Controller.class.php on line 91
Czy jest jakieś wyjście z tej sytuacji.
Zawartość pliku .htaccess :
Kod: Zaznacz cały
DirectoryIndex index.php
RewriteEngine on
RewriteRule .* index.php
Kod: Zaznacz cały
[Sun Jun 05 01:57:48 2011] [error] [client 127.0.0.1] PHP Warning: require_once(modules/main/actions.class.php): failed to open stream: No such file or directory in /home/vermer/public_html/hello/scripts/Controller.class.php on line 91
[Sun Jun 05 01:57:48 2011] [error] [client 127.0.0.1] PHP Fatal error: require_once(): Failed opening required 'modules/main/actions.class.php' (include_path='../scripts:../scripts/include:.:/usr/share/php:/usr/share/pear') in /home/vermer/public_html/hello/scripts/Controller.class.php on line 91
[Sun Jun 05 01:57:49 2011] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico