Codeigniter upload issue - codeigniter

my site is working fine on my local server
but when i upload it on my host it shows this error
A PHP Error was encountered
Severity: Warning
Message: require_once(/home/content/49/7388549/html/awt/system/database/drivers/PDO/PDO_driver.php) [function.require-once]: failed to open stream: No such file or directory
Filename: database/DB.php
Line Number: 140
Fatal error: require_once() [function.require]: Failed opening required '/home/content/49/7388549/html/awt/system/database/drivers/PDO/PDO_driver.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/49/7388549/html/awt/system/database/DB.php on line 140
any help would be appreciated
Thanks in advance

Please kindly check system/database/drivers/PDO/PDO_driver.php file is present or not in your application. If not the copy this file to the location

Related

Am getting this error when i upload my website to cpanel a codeigniter project

A PHP Error was encountered
Severity: Warning
Message: fopen(/var/cpanel/php/sessions/ea-php74/ci_session8c890fa70e8c2a9726a00d721269c80de8117d50): failed to open stream: No such file or directory
Filename: drivers/Session_files_driver.php
Line Number: 174
Backtrace:
File: /home/propert6/public_html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php74)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /home/propert6/public_html/index.php
Line: 315
Function: require_once
What is listed in the php.ini file for session.save_path ?
Most likely you'd find this (depending on your configuration) in cPanel>>Software>>MultiPHP INI Editor
You can create a php info page to get this information (importanly whether the value is set locally or globally for that version of PHP) as well as the .ini file files loaded into the configuration
You may also want to check the following:
/home/$user/public_html/.htaccess
/home/user/public_html/*.ini

"How to Fix Xampp Error with Ioncube Loader"

I've installed Xampp on windows 10 laptop, my php files needs ioncube loader which i've installed
but there is a problem after copying ioncube_loader_win_5.6.dll into php/ext folder and made changes to php.ini file where i need to put a line "zend_extension = "C:\xampp\php\ext\ioncube_loader_win_5.6.dll"
after doing this my phpmyadmin page don't work gives the below error
Warning: require_once(/byte_safe_strings.php): failed to open stream: No such file or directory in on line 57
Fatal error: require_once(): Failed opening required '/byte_safe_strings.php' (include_path='C:\xampp\php\PEAR') in on line 57
if i remove the ioncube_loader_win_5.6.dll file, the phpmyadmin page works
can anyone help me sort this problem?

Laragon can not include php pear folder

If I go to my localhost link it displays this error:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/Users/GuylianWasHier/OneDrive - ROC Ter AA/1. School/1. Web Development/2. WebDev Projects/index.php' (include_path='.;C:/laragon/etc/php/pear') in Unknown on line 0
How do i fix this?
The Laragon's default document root is: C:\laragon\www
Please move "2. WebDev Projects/index.php" to that location.
Note: Don't use space in your folder name.

Magento Autoload.php cannot find other PHP scripts

I keep getting this kind of error since I moved Magento from my server to clients server:
exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'NotEmpty'' in /lib/Zend/Validate.php:244
Caused by:
Warning: include(NotEmpty.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
This one I get when I try to finish my order.
I got one similar yesterday when trying to create an attribute.
Warning: include(StringLength.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
I checked for permissions and all the files referred by the error have 777 and all the folders from root to those files have also 777.
Any thoughts?
EDIT:
I followed the hint from the comments and I managed to find the path of the file causing the error. The NotEmpty.php is called from the root of Magento though it should have been in /lib/Zend/Validate/.
Any idea how to get the right path?

Error : Warning: include(Mage\Venustheme\Brand\Model\System\Config\Source\ListBrand.php)

Magento shows below error when i click on product to edit.
Warning: include(Mage\Venustheme\Brand\Model\System\Config\Source\ListBrand.php) [function.include]: failed to open stream: No such file or directory in ..\lib\Varien\Autoload.php on line 93
i am looking for any trick/method which can help me debug this error, actually i want to know from which file it is coming

Resources