PDA

Zobacz pełną wersję : Bład defines line 21



stereo
14-05-2010, 12:19
Witam

Posiadam stronę na joomli od 2 lat. Było kilka uszkodzeń ale udało się naprawić. Nie mniej jednak napotkałem problem który nie wiem jak nazwać i od czego zacząć.

treść błedu po wejsciu na strone głowna - strony www


Warning: require_once(/var/www/web204/web/includes/defines.php) [function.require-once (http://www.zosp.sanok.pl/function.require-once)]: failed to open stream: Permission denied in /var/www/web204/web/index.php on line 21

Fatal error: require_once() [function.require (http://www.zosp.sanok.pl/function.require)]: Failed opening required '/var/www/web204/web/includes/defines.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web204/web/index.php on line 21



Wiec pierwsze co zrobiłem to sprawdziłem index.php i defines.php i w lini 21 jest



//Global definitions
//Joomla framework path definitions
$parts = explode( DS, JPATH_BASE );

//Defines
define( 'JPATH_ROOT', implode( DS, $parts ) );

define( 'JPATH_SITE', JPATH_ROOT );
define( 'JPATH_CONFIGURATION', JPATH_ROOT );
define( 'JPATH_ADMINISTRATOR', JPATH_ROOT.DS.'administrator' );
define( 'JPATH_XMLRPC', JPATH_ROOT.DS.'xmlrpc' );
define( 'JPATH_LIBRARIES', JPATH_ROOT.DS.'libraries' );
define( 'JPATH_PLUGINS', JPATH_ROOT.DS.'plugins' );
define( 'JPATH_INSTALLATION', JPATH_ROOT.DS.'installation' );
define( 'JPATH_THEMES' , JPATH_BASE.DS.'templates' );
define( 'JPATH_CACHE', JPATH_BASE.DS.'cache');


po wejściu w panel administratora:

nazwa strony.info/administrator wyświetla się błąd


Forbidden

You don't have permission to access /administrator/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Prosze o porade co mogło sie uszkodzić ?

palyga007
14-05-2010, 12:59
Prawa dostępu.
Postu w tej formie nie da się czytać. (ten zielony jest nie do przeczytania.)

stereo
15-05-2010, 11:05
chmody?

Jesli tak to ktore pliki i na jaki chmod ustawic probowałem na 777 defines i index php ale nic z tego