Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> problem z mod rewrite na home.pl
lidkus
post 1.08.2008, 23:03:43
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 21.07.2008

Ostrzeżenie: (0%)
-----


Witam.Potrzebuje pomocy.Zainstalowalem skrypt adult watch pomyslnie jednak proby wejscia na strone koncza sie takim komunikatem:


Cytat
Fatal error: require_once() [function.require]: Failed opening required '/public_html/allefury/dupy/smarty/libs/Smarty.class.php' (include_path='.:/:/usr/php/pear') in /dupy/include/config.php on line 41


Wiem ze blad wskazuje na brak danego pliku ale wszystko jest tam gdzie powinno.Nizej podaje kod pliku .htaccess i pliku config.php


plik .htaccess

Cytat
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^browse/videos/(.*)/(.*)/(.*)/(.*) /videos.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^browse/members/(.*)/(.*)/(.*)/(.*) /members.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^search/(.*)/(.*)/(.*)/(.*) /search.php?searchfor=$1&sortby=$2&page=$3&searchterm=$4
RewriteRule ^browse/categories/videos/(.*)/(.*)/(.*)/(.*) /categoryvideos.php?sortby=$1&filter=$2&page=$3&title=$4
RewriteRule ^videos/(.*)/(.*) /playvideo.php?videoid=$1&title=$2
RewriteRule ^categories/ /categories.php
RewriteRule ^confirmemail/(.*) /confirmemail.php?code=$1
RewriteRule ^resetpassword/(.*) /resetpassword.php?code=$1
RewriteRule ^resendconfirmation/(.*) /resendconfirmation.php?userid=$1
RewriteRule ^members/profile/(.*)/(.*) /memberprofile.php?pid=$1&username=$2
RewriteRule ^members/videos/(.*)/(.*) /membervideos.php?pid=$1&username=$2
RewriteRule ^members/comments/(.*)/(.*) /membercomments.php?pid=$1&username=$2
RewriteRule ^members/favorites/(.*)/(.*) /memberfavorites.php?pid=$1&username=$2
RewriteRule ^members/subscribers/(.*)/(.*) /membersubscribers.php?pid=$1&username=$2
RewriteRule ^members/friends/(.*)/(.*) /memberfriends.php?pid=$1&username=$2
RewriteRule ^syndicate/videos/(.*)/(.*) /syndicatevideos.php?filter=$1&title=$2
RewriteRule ^syndicate/categoryvideos/(.*)/(.*) /syndicatecategoryvideos.php?filter=$1&title=$2
RewriteRule ^syndicate/categorychannels/(.*)/(.*) /syndicatecategorychannels.php?filter=$1&title=$2
RewriteRule ^syndicate/members/(.*)/(.*) /syndicatemembers.php?filter=$1&title=$2
RewriteRule ^download/video/(.*)/(.*) /downloadvideo.php?VIDEOID=$1&title=$2
RewriteRule ^share/video/(.*) /sharevideo.php?videoid=$1
RewriteRule ^comments/videos/(.*)/(.*) /videocomments.php?videoid=$1&title=$2
</IfModule>

<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed,
# but better safe than sorry.
SecFilterScanPOST Off
</IfModule>



plik config.php

Cytat
<?
session_start();
$config = array();

// Begin Configuration
$config['basedir'] = '/home/allefury/dupy';
$config['baseurl'] = 'http://www.alledupy.pl/';

require_once($config[basedir].'/smarty/libs/Smarty.class.php');
require_once($config[basedir].'/libraries/mysmarty.class.php');
require_once($config[basedir].'/libraries/SConfig.php');
require_once($config[basedir].'/libraries/SError.php');
require_once($config[basedir].'/libraries/adodb/adodb.inc.php');
require_once($config[basedir].'/libraries/phpmailer/class.phpmailer.php');
require_once($config[basedir].'/libraries/SEmail.php');


?>


Prosze was o pomoc ,z góry dziekuje pozdrawiam Tomek
Go to the top of the page
+Quote Post
rybik
post 1.08.2008, 23:23:08
Post #2





Grupa: Zarejestrowani
Postów: 99
Pomógł: 15
Dołączył: 29.07.2006

Ostrzeżenie: (0%)
-----


płacisz - wymagaj

nie zbywam Cię, napisz do home.pl tam jest jakies autorskie oprogramowanie serwera więc nie zawsze jest kompatybilne z apaczowymi rozwiązaniami
Go to the top of the page
+Quote Post
sf
post 2.08.2008, 08:30:58
Post #3





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

Ostrzeżenie: (0%)
-----


Cytat(rybik @ 2.08.2008, 00:23:08 ) *
płacisz - wymagaj


ale płacisz za hosting, a nie pomoc z podstawowymi problemami w php winksmiley.jpg uważasz, że to problem z mod rewrite ? niech kolega stworzy plik test.php, wyrzuci mod rewrite i spróbuje załadować tą bibliotekę


--------------------
Zapraszam na mój php blog, tworzenie stron.
Go to the top of the page
+Quote Post
lidkus
post 2.08.2008, 15:19:15
Post #4





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 21.07.2008

Ostrzeżenie: (0%)
-----


nie bardzo wiem jak mam to zrobic, a moze zle podany jest adres "base dir" ? kto wie jak powinno wygladac drzewo katalogow na serwerze home.pl? kazde proby kontaktu z tym probleme z administarcja koncza sie ywpowiedziami "takich katalgoow plikow nie ma prosze skonfigurowac dobzre pliki konfiguracyjne" ;/
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 20.06.2025 - 08:59