Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] Fatal error: Cannot redeclare class ep3gate, Pilne!
viper134
post
Post #1





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 23.01.2008

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


Mój problem polega na niemożności instalacji wyszukiwarki MerlinX przez błąd Klasy w linii 40 ( class ep3gate { )
  1. class ep3gate {
  2. var $GET;
  3. var $POST;
  4. var $agentnr;
  5. var $affiliate;
  6. var $characterset;
  7. var $recvparts;
  8. var $ibeurl="http://ibe01.merlinx.pl/easypax3/agent/";
  9. var $searchtype;
  10. var $cnv;
  11. var $scriptbase;
  12. var $specialsearchtype;


na 5 to samo z tym, że w linii 8:

  1. class ep3gate {
  2. private $GET;
  3. private $POST;
  4. private $agentnr;
  5. private $affiliate;
  6. private $characterset;
  7. private $recvparts;
  8. private $searchtype;
  9. private $cnv;
  10. private $scriptbase;
  11. private $specialsearchtype;
  12.  
  13. const ibeurl="http://ibe01.merlinx.pl/easypax3/agent/";
  14.  
  15. public function __construct($agentnr,$affiliate,$varname='ep3',$characterset='UTF-8',$encby='mb')


Z racji raczkowania w PHP (coś tam wiem, ale dla mnie ten skrypt jest za skompilowany) proszę (o ile to możliwe) w miarę łopatologiczne wytłumaczenie wink.gif

To dosyć pilne... tak do jutra wink.gif
Go to the top of the page
+Quote Post
skowron-line
post
Post #2





Grupa: Zarejestrowani
Postów: 4 340
Pomógł: 542
Dołączył: 15.01.2006
Skąd: Olsztyn/Warszawa

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


łopatologicznie to zamień sobie wszystkie include na include_once


--------------------
I'm so fast that last night I turned off the light switch in my hotel room and was in bed before the room was dark - Muhammad Ali.
Peg jeżeli chcesz uprawiać sex to dzieci muszą wyjść, a jeżeli chcesz żeby był dobry ty też musisz wyjść - Al Bundy.

QueryBuilder, Mootools.net, bbcradio1::MistaJam
http://www.phpbench.com/
Go to the top of the page
+Quote Post
viper134
post
Post #3





Grupa: Zarejestrowani
Postów: 26
Pomógł: 0
Dołączył: 23.01.2008

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


Cytat(skowron-line @ 10.03.2011, 15:48:46 ) *
łopatologicznie to zamień sobie wszystkie include na include_once


Thx - Zadziałało wink.gif
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 Aktualny czas: 21.08.2025 - 18:45