Error with uploading site that uses codeigniter - php

After uploading my site to a hosting, it shows the following error:
Warning: include() [function.include]: Failed opening
'/home/u630543546/public_html/mikenpina/application/views/errors/html/error_php.php'
for inclusion (include_path='.:/opt/php-5.3/pear') in
/home/u630543546/public_html/mikenpina/system/core/Exceptions.php on
line 216
Warning: include() [function.include]: Failed opening
'/home/u630543546/public_html/mikenpina/application/views/errors/html/error_php.php'
for inclusion (include_path='.:/opt/php-5.3/pear') in
/home/u630543546/public_html/mikenpina/system/core/Exceptions.php on
line 216
What could be the cause of this? I've been tracing the error since yesterday but can't seem to find it. I used CodeIgniter 2.2.0 and the latest stable bootstrap.
Thanks in advance guys.

Related

Failed opening 'PHPUnit/Autoload.php'

I've been searching and searching for solutions but I still can't figure out why is this happening. I have another project with the same setup but it doesnt give this error. Runs fine in local but throws error like this in scrutinizer
Warning Error: include(PHPUnit/Autoload.php): failed to open stream:
No such file or directory in
[/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php,
line 162]
2018-01-19 07:45:23 Warning: include(PHPUnit/Autoload.php): failed to
open stream: No such file or directory in
[/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php,
line 162]
Warning Error: include(): Failed opening 'PHPUnit/Autoload.php' for
inclusion
(include_path='/home/scrutinizer/build:/home/scrutinizer/build/lib:.:/home/scrutinizer/.phpenv/versions/7.1.12/pear:/home/scrutinizer/.phpenv/versions/7.1.12/share/pyrus/.pear/php')
in
[/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php,
line 162]
2018-01-19 07:45:23 Warning: include(): Failed opening
'PHPUnit/Autoload.php' for inclusion
(include_path='/home/scrutinizer/build:/home/scrutinizer/build/lib:.:/home/scrutinizer/.phpenv/versions/7.1.12/pear:/home/scrutinizer/.phpenv/versions/7.1.12/share/pyrus/.pear/php')
in
[/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php,
line 162]
Error: Please install PHPUnit framework v3.7 (http://www.phpunit.de)
#0 /home/scrutinizer/build/lib/Cake/Console/ShellDispatcher.php(218):
As you already said that you didn't experienced any problem with previous setup.
I suggest you please check the absolute path of the script.
/home/scrutinizer/build/lib/Cake/TestSuite
I am talking about this path.
and tell if you have solved out the problem.I can't tell more than this as you have provided the error only.If I need to help you more then you should provide more details.
Good luck

Errors occurred during magento installation

I'm trying to install magento 1.x on my centos machine. After dowloading and extracting magento i faced this errrors
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /xxxx/app/Mage.php on line 54
I tried to run php shell/compiler.php compile the the errors disappeared and the installation page appeared but without any next or back buttons.
How can i fix this issue?
Make sure on the new server , you have permissions to open and rewrite files. some mangento extensions require full permissions before installations.

Magento URl error with PHP

I installed fresh magento 1.9.2.2. While installing and after it instaled, whenever i try my domain url the same error have been coming like shown below.
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /home/website/public_html/app/Mage.php on line 54
So I used
http://xxx.xxx.xxx.xxx [my ip address]/~website/
then in installtion I changed my path to my domain name. Its not working.
Anyone know any solution. Please help me.
I think that your problem caused by the .htaccess file. Try to rename it to test this idea or check rewrite/redirect rules.

Site isn't seeing the autoload

I'm getting this error:
Warning: require(/home/wiseman/public_html/path/to/facebook-php-sdk-v4/autoload.php): failed to open stream: No such file or directory in /home/wiseman/public_html/facebook.php on line 3
Fatal error: require(): Failed opening required '/home/wiseman/public_html/path/to/facebook-php-sdk-v4/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wiseman/public_html/facebook.php on line 3
The sdk has been installed by the host server and I can see the autoload file in exactly the path it's looking for. Anyone know what the problem could be? I'm new to working with facebook and am really green so be gentle! :)

Trying to get drupal's Code Sniffer working with Sublime Text 2, what am I doing wrong?

I followed this tutorial, but when I hit cmd-B in Sublime, I get this error:
Warning: include_once(PHP/CodeSniffer/CLI.php): failed to open stream: No such file or directory in /usr/local/bin/phpcs on line 31
Warning: include_once(): Failed opening 'PHP/CodeSniffer/CLI.php' for inclusion (include_path='.:') in /usr/local/bin/phpcs on line 31
Fatal error: Class 'PHP_CodeSniffer_CLI' not found in /usr/local/bin/phpcs on line 34
I'm just working with general PHP files, not in MAMP or anything, and I just want to check if they follow the drupal coding standards. What's going wrong?

Categories