Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [pear] nie działa za żadne skarby
ppatrykp
post
Post #1





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 30.03.2007

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


witam, nie jestem pewien czy to dobry dział, jeśli nie przepraszam i proszę o przeniesienie tam gdzie trzeba.

Mój problem polega na tym, że pisze skrypt tworzący plik xls i nie mogę w ogóle inkludować odpowiednichn bibliotek PEAR
non stop taki efekt:
  1. <?php
  2. Warning: require_once(Spreadsheet/Excel/Writer/Workbook.php) [function.require-once]: failed to open stream: No such file or directory in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  3.  
  4. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer/Workbook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  5. ?>


bądź


  1. <?php
  2. Warning: require_once(Spreadsheet/Excel/Writer.php) [function.require-once]: failed to open stream: No such file or directory in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  3.  
  4. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ppatrykp/public_html/bosch/doexcel.php on line 35
  5. ?>


mam konto wirtualne na webd.pl

w necie są raptem śladowe informacje o takim problemie, niestety nieużyteczne. Co robię źle?

z góry dzięki
Paweł
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
ppatrykp
post
Post #2





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 30.03.2007

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


wciąż wraca ten sam błąd
  1. <?php
  2. Warning: require_once(Spreadsheet/Excel/Writer.php) [function.require-once]: failed to open stream: No such file or directory in /home/ppatrykp/public_html/doexcel.php on line 42
  3.  
  4. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='~/pear/lib:~/pear/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/ppatrykp/public_html/doexcel.php on line 42
  5. ?>


co ciekawe odpalam to samo na home.pl i uzyskuje inny błąd tzn krószy
  1. <?php
  2. Fatal error: require_once() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='~/pear/lib:~/pear/lib:.:/:/usr/php/pear') in /doexcel.php on line 42
  3. ?>

wiec jak widać nie ma tego warning-u

znalazłem w moim cPanelu coś takiego
  1. <?php
  2. ini_set("include_path", '/home/ppatrykp/php:' . ini_get("include_path")  );
  3. ?>

ale daje identyczny efekt, poradź co tu w takim razie zrobić jeśli możesz... może powinienem zmienić hosting, na jakiś pewny?
Go to the top of the page
+Quote Post

Posty w temacie


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: 10.10.2025 - 06:45