Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

ROZWIĄZANY: Problem po teście połączenia


Arek88

Rekomendowane odpowiedzi

Witam moderator mojego forum zgłośił mi że forum włącza się co drugie polecenie wyglądało to tak po wpisaniu adresu strona się pojawia po przejściu do jakiegoś tematu wyskakiwało w commynity name gdzie normalnie jest (Good-Games Forum najlepszych gier On-line!) http://good-games.pl/ po odświeżeniu ok zrobiłem test połączenia w ACP otrzymałem komunikat

Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791 Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791

Sytuacja się teraz w miarę unormowała ale komunikat dalej się pokazuję kompletnie nie mam pojęcia co to oznacza a co gorsza jak to naprawić

Odnośnik do komentarza
Udostępnij na innych stronach

Chodziło o sam błąd, ale tutaj jest inny trochę problem. Gdzieś jakby ścieżek brakowało w include()

Wrzuć może ponownie ten plik pulpit_administratorow/sources/classes/class_localization.php

Błąd w tej linii (791) za bardzo pojawić się nie może, bo zmienna na 100% ustawiana i jeszcze jest sprawdzenie if ( is_file( $_file ) )

Odnośnik do komentarza
Udostępnij na innych stronach

  • Manager

Niby tak, ale błąd Warning: include(): open_basedir restriction in effect. często jest powodowany takimi zmianami i brakiem aktualizacji ścieżek przez admina w ACP - może niech i to sprawdzi..

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

Hmmm, a może problem jest w ogóle gdzie indziej. Błędy mogą być cały czas tylko są niewidoczne, a w funkcji od sprawdzania połączeń następuje włączenie ich pokazywania:

/**
 * Test outbound connections
 *
 * @return @e void  [Outputs to screen]
 */
public function _checkConnections()
{
 //-----------------------------------------
 // Turn errors on so we can view them
 //-----------------------------------------

 @ini_set( 'display_errors', 1 );
 error_reporting( E_ALL ^ E_NOTICE );

Spróbuj przy trybie bezpiecznym.

Odnośnik do komentarza
Udostępnij na innych stronach

ło coś takiego na głównej wyskoczyło

Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 390
Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 391
Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 406
Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/ips_kernel/classDbMysql.php on line 1224
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 1400
Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 952
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsRegistry.php on line 2816
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/base/ipsController.php on line 194
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791
Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/godgames/) in /home/godgames/public_html/pulpit_administratorow/sources/classes/class_localization.php on line 791

Odnośnik do komentarza
Udostępnij na innych stronach

Wygląda jakby wszystkie ścieżki były nieprawidłowe.

Czyli jakby DOC_IPS_ROOT_PATH, IPS_ROOT_PATH itd. były źle zdefiniowane.

Tylko że one są definiowane na podstawie podstawowych funkcji.

Spróbuj zamienić:

define( 'DOC_IPS_ROOT_PATH', str_replace( "\\", "/", dirname( __FILE__ ) ) . '/' );

na:

define( 'DOC_IPS_ROOT_PATH', '/poprawna/sciezka/do/katalogu/glownego/forum/' );

czyli prawdopodobnie na:

define( 'DOC_IPS_ROOT_PATH', '/home/godgames/public_html/' );

Reszta jest już na podstawie tej stałej.

Odnośnik do komentarza
Udostępnij na innych stronach

Dzięki DawPi

Pavulon zmieniłem na

define( 'DOC_IPS_ROOT_PATH', '/home/godgames/public_html/' );

bo taka ścieżka jest prawidłowa lecz nic się nie zmieniło, a czy mogłem zrobić coś co przyczyniło się do powstania takiego błędu ?

Odnośnik do komentarza
Udostępnij na innych stronach

  • Manager

Lepiej napisać cokolwiek przy użyciu translatora niż nic.. Wystarczy się przywitać, wkleić błędy i niech myślą. :)

intermedia - profesjonalne rozwiązania Invision Power Board

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.