ivermectina facmed ivermectina para hongos ivermectin over the counter for humans como se toma la pastilla ivermectina para piojos ivermectina 6mg preço panvel ivermectin for rabbits para comprar ivermectina precisa de receita médica Skip to main content

[solved] require_once(), include_once() failed to open stream: No such file or directory

Pred skoraj letom sem opazil, da ima WordPress (ta blog) težave z določenimi temami in dodatki. Takrat se nisem posebej poglobil v problem, je pa nastal tale zapis: require_once: PHP, PEAR, WordPress, Apache,…? problem. Danes sem se problema ponovno lotil in našel rešitev.

Problem je bil v tem, da je funkcija require_once() narobe prebrala pot do želene datoteke. Primer je spodaj:

Warning: require_once(share-widget.php) [function.require-once]: failed to open stream: No such file or directory in ��� e/www/humerca.com/wordpress/wp-content/plugins/share-and-follow/share-and-follow.php on line 1989

Fatal error: require_once() [function.require]: Failed opening required ‘share-widget.php’ (include_path=’/usr/share/pear’) in ��� e/www/humerca.com/wordpress/wp-content/plugins/share-and-follow/share-and-follow.php on line 1989

Rešitev sem našel v tem, da se odstranil pecl paket APC.

# pecl uninstall APC

Ker to ni pomagalo sem  v /etc/php.d/apc.ini zakomentiral (spredaj dodaš ;) vrstico:

extension=apc.so

Dodaj odgovor

Vaš e-naslov ne bo objavljen. * označuje zahtevana polja