Jump to content
php.lv forumi

wordpress php


nepateemu

Recommended Posts

Kaads nevar palīdzēt ar wp themu? Nezinu vai tā ir mana vaina vai serveris vnk neļauj piekļuvi failiem. Logs rāda:

[Wed May 25 18:10:23 2011] [error] [client ip] PHP Warning: include(/home/nosaukums/htdocs/wp-content/themes/green/inc/meta.php) [function.include]: failed to open stream: No such file or directory in /home/nosaukums/htdocs/wp-content/themes/green/nosidebar.php on line 19, referer: [url="http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6"]http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6[/url]

[Wed May 25 18:10:23 2011] [error] [client ip] PHP Warning:  include() [function.include]: Failed opening '/home/nosaukums/htdocs/wp-content/themes/green/inc/meta.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/nosaukums/htdocs/wp-content/themes/green/nosidebar.php on line 19, referer: [url="http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6"]http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6[/url]

[Wed May 25 18:10:23 2011] [error] [client ip] PHP Warning: include(/home/nosaukums/htdocs/wp-content/themes/green/inc/nav.php) [function.include]: failed to open stream: No such file or directory in /home/nosaukums/htdocs/wp-content/themes/green/nosidebar.php on line 30, referer: [url="http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6"]http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6[/url]

[Wed May 25 18:10:23 2011] [error] [client ip] PHP Warning:  include() [function.include]: Failed opening '/home/nosaukums/htdocs/wp-content/themes/green/inc/nav.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/nosaukums/htdocs/wp-content/themes/green/nosidebar.php on line 30, referer: [url="http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6"]http://adrese/wp-content/plugins/wp-photocontest/login.php?post_id=124&img_id=6&redirect_to=http%3A%2F%2Fadrese%2Fwp-content%2Fplugins%2Fwp-photocontest%2Fviewimg.php%3Fpost_id%3D124%26img_id%3D6[/url]

[Wed May 25 18:10:34 2011] [error] [client ip] PHP Warning: include(/home/nosaukums/htdocs/wp-content/themes/green/inc/meta.php) [function.include]: failed to open stream: No such file or directory in /home/nosaukums/htdocs/wp-content/themes/green/page.php on line 9, referer: [url="http://adrese/"]adrese[/url]

[Wed May 25 18:10:34 2011] [error] [client ip] PHP Warning:  include() [function.include]: Failed opening '/home/nosaukums/htdocs/wp-content/themes/green/inc/meta.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/nosaukums/htdocs/wp-content/themes/green/page.php on line 9, referer: [url="http://adrese/"]adrese[/url]

 

visās lapās viss rādas kā nākas, izņemot plugina lapas. Google pirmajās lapās vistmaz stāstija ka piem inc/meta.php nav speciāli jāveido, bet viņš ņem no kopējā theme meta info un tad pārliek pārējās lapās...

ja kāds varētu pateikt kas ir pa vainu, es riktiigi buutu pateicīgs :)

Paldies

Link to comment
Share on other sites

No such file or directory.

 

Neeksistē Tev tāds fails... vai nu ceļš uz failu ir nepareizs... vai nu... fails neeksistē!

 

Nu es ar to redzu, bet wp codex raksta ka tādam failam nav jābūt, tas fails ir <?php meta include ?> vai kkas tāds pašā wp thema failā..

Link to comment
Share on other sites

  • 3 weeks later...

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...
×
×
  • Create New...