Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php][mysql] błąd galerii Zenphoto
useyourillusion
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 9.02.2008

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


Witam, mam na stronie galerię Zenphoto i wyskakuje mi błąd:

Warning: copy(/home/users/abc/public_html/ga/zp-core/images/videoDefault.png) [function.copy]: failed to open stream: No such file or directory in /home/users/abc/public_html/ga/zp-core/controller.php on line 17

17 i 18 linijka to:

if (!file_exists(getAlbumFolder() . 'videoDefault.png')) { copy(SERVERPATH . '/' . ZENFOLDER . '/images/videoDefault.png', getAlbumFolder() . 'videoDefault.png'); }
if (!file_exists(getAlbumFolder() . 'zen-logo.jpg')) { copy(SERVERPATH . '/' . ZENFOLDER . '/images/zen-logo.jpg', getAlbumFolder() . 'zen-logo.jpg'); }

Jeżeli ktoś się z czymś takim spotkał, proszę o pomoc.


Ten post edytował useyourillusion 7.03.2008, 17:10:06
Go to the top of the page
+Quote Post
maryaan
post
Post #2





Grupa: Zarejestrowani
Postów: 380
Pomógł: 2
Dołączył: 5.01.2007

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


Sprawdzales czy istnieja pliki videoDefault.png i zen-logo.jpg w katalogu z ktorego skrypt chce je skopiowac?


--------------------
Wybierasz się do Zakopanego? Odwiedź Willę Pod Górami. Następnym razem na pewno do niej wrócisz :)
Go to the top of the page
+Quote Post
useyourillusion
post
Post #3





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 9.02.2008

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


tak, istnieją
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 - 15:16