Jump to content
php.lv forumi
Sign in to follow this  
student

waring:

Recommended Posts

Sveiki! Es te cenšos kaut ko izveidot ar draugiem.lv pasi, bet kad cenšos palaist paraugu, kuru draugiem.lv piedāvā, tad man parādās šāds eroor:

 

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

 

Fatal error: Unknown: Failed opening required 'C:/wamp/www/extractor/examples/test_passport.php' (include_path='.;C:\php5\pear') in Unknown on line 0

 

Varētu kāds man lūdzu izskaidrot, kā tikt no tā vaļā?

Share this post


Link to post
Share on other sites

ja tas atrastos uz Liunux servera, es teiktu

chmod('extractor/examples/test_passport.php', 755);

 

Kas par windows?

Share this post


Link to post
Share on other sites

Tad lai šis skripts ietu man vajag linux serveri?

 

Protams, ka nē! Vienkārši, UNIX sistēmām (kā Linux) ir savādākā atļauju ("permissions") sistēma. Galvenā atšķirība ir tāda, ka ir jānorāda, ko ar attiecīgo failu / direktoriju kurs varēs darīt. Mēs domājam, ka Tev kas neiet, jo Tavam serverim nav tiesības strādāt ar attiecīgajiem skriptiem.

 

Tev pašam datoram ir Winodws, cik sapratu. Bet kur Tev "stāv" lapa? Uz tā paša datora? Kaut kāda XAMPP? Vai arī uz hostinga servera (visticamāk viņiem ir Linux)...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...