I start apache and mysql today as always do...but when I try to enter to phpmyadmin I'm getting this error:
Fatal error: require_once(): Failed opening required './libraries/php-gettext/gettext.inc' (include_path='C:\xampp\php\PEAR') in C:\xampp\phpMyAdmin\libraries\select_lang.lib.php on line 477
I don't understand what's happening =( ...I did nothing on the folders or config setup PLS HELP !!!
Simply go to C:\xampp\phpMyAdmin\libraries\ and cut that file select_lang.lib.php ,make sure you paste that item somewhere (if necessary), and phpadmin will run.
Related
I have very basic knowledge of coding, I took a copy of our company's website to practice making changes to it.
But when I try to run it I get this error
Warning: require_once(/var/www/html/classes/database_class_pdo.php):
failed to open stream: No such file or directory in
D:\xampp\htdocs\HJ\top.php on line 10
Fatal error: require_once(): Failed opening required
'/var/www/html/classes/database_class_pdo.php'
(include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\HJ\top.php on
line 10
Please, can someone tell me the issue here?
Thank you.
It's because your php file is trying to open a file named /var/www/html/classes/database_class_pdo.php but cannot find it. Try to see if the path is correct or if the file exists.
When I moved MediaWiki from Localhost to the server I started getting the below error. I am using the latest version and tried to use php 5.3, 5.4 and 5.5 but error exists for all version of php. I know this might not be php version related but just cross checked.
Warning:
require_once(/home/meuser/public_html/site_dir\extensions\Cite\Cite.php):
failed to open stream: No such file or directory in
/home/meuser/public_html/site_dir/LocalSettings.php on line 132
Fatal error: require_once(): Failed opening required '/home/meuser/public_html/site_dir\extensions\Cite\Cite.php'
(include_path='.:/opt/php54/lib/php') in
/home/meuser/public_html/site_dir/LocalSettings.php on line 132
When I commented Cite extension (to disable the extension) to cross check, it gives the same error for the next extension. So I believe there is something wrong in moving server?
I have just uploaded all files to the server and changed database and site url settings in Localsettings.php and imported database.
Is there any extra step required?
There's an issue with the directory separators in your paths. Notice how they're all forward slashes until you reach site_dir. Fix these and it should work perfectly. Based on this code the paths you need to change are in LocalSettings.php
i think this will help you
Syntax:
require_once($_SERVER['DOCUMENT_ROOT']./your file location with only '/' slash);
ie.,
require_once($_SERVER['DOCUMENT_ROOT']./site_dir/extensions/Cite/Cite.php);
I'm trying to move a Wordpress website from a server to my local machine.
After I've transferred the files and database, I'm getting this error:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/karryon/wp-config.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/karryon/wp-load.php on line 29
Fatal error: require_once(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/karryon/wp-config.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/karryon/wp-load.php on line 29
I'm using XAMPP on a mac and I've tried changing the folder permissions with no luck.
Strange thing is I tried doing the same on a windows machine with Wampserver using the exact same steps and it worked fine.
If anyone knows a possible solution to this problem please let me know!
Thanks in advance,
Amy
I have applied the google map to my local server via Xampp. I have moved it to my web hosting server and I can not get it to connect to the databse. I was able to get other db connections to work but the issue here is I must be puting the file path in incorrectly. I am using the same file structure as on my local machine.
The Errors:
Warning: require(../includes/core/db/map_dbinfo.php) [function.require]: failed to open stream: No such file or directory in /home/xxxxxxx/public_html/includes/state_map/phpsqlajax_genxml2.php on line 2
Fatal error: require() [function.require]: Failed opening required '../includes/core/db/map_dbinfo.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxx/public_html/includes/state_map/phpsqlajax_genxml2.php on line 2
Anyone know why it's throwing these errors now but not on local machine and how I can go about fixing it?
I really have no idea where to start or even how to word this question. Any help would be appreciated. Thanks
You are standing in .../includes/states_map/phpsqlajax_genxml2.php and trying to reach "../includes/core/db/map_dbinfo.php". If you go back one directory from states_map you get to includes, and then you try to find includes under the includes directory.
Change the include to ../../includes/core/db/map_dbinfo.php
Why this is happening? Probably because you on your local server has .../includes added in you r include_path in php, which then will try includes/../includes/...
I am newbie in oscommerce. I have site which was crashed before some days and for start my site I restore database backup which is in Godaddy.
Now the problem is that I can't access my front end but I can access back end properly.
whenever I try to access front page then its displayed Blank page.
Anybody have idea why its happening?
When I turn on error reporting then I got following errors
Warning: require(includes/languages/affiliate.php) [function.require]: failed to open stream: No such file or directory in /home/content/17/10028317/html/includes/affiliate_application_top.php on line 72
Fatal error: require() [function.require]: Failed opening required 'includes/languages/affiliate.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/17/10028317/html/includes/affiliate_application_top.php on line 72
As steve said your are missing a file. The missing file is affiliate.php wich should be stored in 'includes/languages/', please check to have it.
To my knowledge languages files should be kept insead in 'includes/languages/yourlanguagefolder/'
You might have either a mistake in your config.php file or in the script 'includes/affiliate_application_top.php' in this case path for language file could be wrong in require function