Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> CMS - kopia na obcym serwerze źle działa, Proszę o pomoc w związku CMS posiada komunikaty:Warning: main() [funct
interbis
post
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 7.09.2010

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


Witam, skopiowałam CMS z innego serwera do innego. Utworzyłam nowego użytkownika do Bazy Danych Msql oraz skopiowałam skrypt.
Strone skopiowałam do katalogu w którym bedzie mieć własciwe swoje wyświetlanie.

Baza danych "zagrała mi sie poprawnie" Natomiast pliki do strony w prawidłowym katalogu wyświetlają sie mi z błedami typu: Warning: main() [function.main]:

Szukałam błedu, w źrółowych plikach - lecz nie umiem jezyka PHP i robię to metodą prób i błedów. Czy mógłby mi ktoś pomóc z tym problemie. Co powinnam zrobić. ?
Od czego zacząć.
Jak zmienic scieżki dostępu, .htaccesa zminiłam ale widocznie to nie ten błąd. Bardzo prosze o pomoc.
Źródło jakie posiadam z błędami to :

1. Warning: main() [function.main]: open_basedir restriction in effect. File(/home/interbis/public_html/wislaapartamenty/classes/template.inc.php) is not within the allowed path(s): (/tmp/:/home/eurocom/) in /home/eurocom/public_html/meble/common.inc.php on line 8
Warning: main(/home/interbis/public_html/wislaapartamenty/classes/template.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/eurocom/public_html/meble/common.inc.php on line 8

Warning: main() [function.include]: Failed opening '/home/interbis/public_html/wislaapartamenty/classes/template.inc.php' for inclusion (include_path='/usr/lib/php:/usr/local/php4/lib/php:.') in /home/eurocom/public_html/meble/common.inc.php on line 8

Warning: main() [function.main]: open_basedir restriction in effect. File(/home/interbis/public_html/wislaapartamenty/classes/dictionary.inc.php) is not within the allowed path(s): (/tmp/:/home/eurocom/) in /home/eurocom/public_html/meble/common.inc.php on line 10

Warning: main(/home/interbis/public_html/wislaapartamenty/classes/dictionary.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/eurocom/public_html/meble/common.inc.php on line 10

Warning: main() [function.include]: Failed opening '/home/interbis/public_html/wislaapartamenty/classes/dictionary.inc.php' for inclusion (include_path='/usr/lib/php:/usr/local/php4/lib/php:.') in /home/eurocom/public_html/meble/common.inc.php on line 10

Warning: main() [function.main]: open_basedir restriction in effect. File(/home/interbis/public_html/wislaapartamenty/classes/session.inc.php) is not within the allowed path(s): (/tmp/:/home/eurocom/) in /home/eurocom/public_html/meble/common.inc.php on line 12

Warning: main(/home/interbis/public_html/wislaapartamenty/classes/session.inc.php) [function.main]: failed to open stream: Operation not permitted in /home/eurocom/public_html/meble/common.inc.php on line 12

Ten post edytował interbis 16.02.2011, 16:55:13
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 9)
Daiquiri
post
Post #2





Grupa: Administratorzy
Postów: 1 552
Pomógł: 211
Dołączył: 7.07.2009
Skąd: NJ




Następnym razem skorzystaj najpierw z wyszukiwarki. Masz wyłączony openbasedir na nowym serwerze?
Go to the top of the page
+Quote Post
interbis
post
Post #3





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 7.09.2010

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


A gdzie tego mogę szukać.
czy na bazie msql-a ?
czy na panelu administracyjnym. serwera?

Dziekuje za radę bardzo (IMG:style_emoticons/default/exclamation.gif)
Go to the top of the page
+Quote Post
Daiquiri
post
Post #4





Grupa: Administratorzy
Postów: 1 552
Pomógł: 211
Dołączył: 7.07.2009
Skąd: NJ




Nie wiem gdzie masz ten serwer (IMG:style_emoticons/default/smile.gif) . Owszem, możesz mieć taką opcję w panelu administracyjnym.
Go to the top of the page
+Quote Post
interbis
post
Post #5





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 7.09.2010

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


Czy to mozę byc jedyny problem ?
Go to the top of the page
+Quote Post
Hekko
post
Post #6





Grupa: Zarejestrowani
Postów: 255
Pomógł: 23
Dołączył: 1.12.2003

Ostrzeżenie: (10%)
X----


Problem wynika albo ze złych ścieżek albo z braku takiego pliku.
Go to the top of the page
+Quote Post
interbis
post
Post #7





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 7.09.2010

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


Cytat(Hekko @ 17.02.2011, 18:02:49 ) *
Problem wynika albo ze złych ścieżek albo z braku takiego pliku.


Ok - ja ustawiłam poprawność scieżek ale teraz to takich komunikatów nie kumam pomożecie co powinnam zrobic?

Warning: main(/home/eurocom/public_html/eurocom/classes/template.inc.php) [function.main]: failed to open stream: No such file or directory in /home/eurocom/public_html/meble/common.inc.php on line 8

Warning: main() [function.include]: Failed opening '/home/eurocom/public_html/eurocom/classes/template.inc.php' for inclusion (include_path='/usr/lib/php:/usr/local/php4/lib/php:.') in /home/eurocom/public_html/meble/common.inc.php on line 8
Go to the top of the page
+Quote Post
Hekko
post
Post #8





Grupa: Zarejestrowani
Postów: 255
Pomógł: 23
Dołączył: 1.12.2003

Ostrzeżenie: (10%)
X----


Ten sam problem co opisałem wyżej. sprawdź ten plik /home/eurocom/public_html/eurocom/classes/template.inc.php czy istnieje.
Go to the top of the page
+Quote Post
interbis
post
Post #9





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 7.09.2010

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


Istnieje.

Czy ta ścieżka świadczy o błednej bazie danych?

Warning: main() [function.include]: Failed opening '/home/eurocom/public_html/eurocom/classes/base.inc.php' for inclusion (include_path='/usr/lib/php:/usr/local/php4/lib/php:.') in /home/eurocom/public_html/meble/common.inc.php on line 14

Warning: main(/home/eurocom/public_html/eurocom/classes/browse.inc.php) [function.main]: failed to open stream: No such file or directory in /home/eurocom/public_html/meble/common.inc.php on line 15

Warning: main() [function.include]: Failed opening '/home/eurocom/public_html/eurocom/classes/browse.inc.php' for inclusion (include_path='/usr/lib/php:/usr/local/php4/lib/php:.') in /home/eurocom/public_html/meble/common.inc.php on line 15
Go to the top of the page
+Quote Post
Hekko
post
Post #10





Grupa: Zarejestrowani
Postów: 255
Pomógł: 23
Dołączył: 1.12.2003

Ostrzeżenie: (10%)
X----


Nie, to jest problem złej ścieżki lub nieistniejących plików w tej lokalizacji. Sprawdź to dobrze, zanim znów napiszesz.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 2.10.2025 - 15:49