XPCOMGlueLoad error for file /usr/local/firefox/libxul.so - firefox

When running firefox on centos. I am getting the following error. How do i resolve this?
XPCOMGlueLoad error for file /usr/local/firefox/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Related

How to fix " No such file or directory"error when I access to the home page

I downloaded a laravel project from a shared hosting and I want to edit him in my localhost but when I type out the home adress:
localhost:8000/
it shows me those two errors :
Warning: require_once(C:\Users\Rafaa\Downloads\Compressed.idea/public/index.php): failed to open stream: No such file or directory in C:\Users\Rafaa\Downloads\Compressed.idea\server.php on line 21
Fatal error: require_once(): Failed opening required 'C:\Users\Rafaa\Downloads\Compressed.idea/public/index.php' (include_path='C:\xampp\php\PEAR') in C:\Users\Rafaa\Downloads\Compressed.idea\server.php on line 21
When you clone or download a project from somewhere, there may be a case that many dependencies like codes or library files are missing. To solve this
Open the terminal
Go to the directory where the project folder is situated.
RUN composer install
If it still does not work,
RUN composer update
That should do the trick.

Error while loading shared libraries:libWFC.so

When I tried installing rplay on my Raspberrypi 3b,
this error occured to me
Error while loading shared libraries:libWFC.so: cannot open shared object file: No such file or directory
Can someone help me?

Codeigniter Warning: failed to open stream in mpdf: No such file or directory

I'm using mpdf in my codeigniter web app for converting one of my view as pdf and to attach it while sending email. I've downloaded and moved mpdf library to the library folder. But when i try to email the pdf, i'm getting the following warning:
A PHP Error was encountered
Severity: Warning
Message: require_once(/application/libraries/mpdf/includes/functions.php): failed to open stream: No such file or directory
Filename: mpdf/mpdf.php
Line Number: 55
But actually functions.php file is present in the `mpdf/includes/' folder. Can anyone find where am going wrong?
Use the APPPATH constant like this
require_once(APPATH."libraries/mpdf/includes/functions.php");
use this
require_once(APPPATH.'libraries/mpdf/includes/functions.php');
or
require_once(FCPATH.'application/libraries/mpdf/includes/functions.php');
The error is because Linux is case-sensitive in file names. Review that aspect in detail.

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?

Failed opening required 'Smarty_Internal_TemplateCompilerBase.php'

I'm using smarty version 3.1.13;
My project works perfectly on the local server;
When I put my site on the server (www.1and1.com) appears the following error:
Fatal error: require_once():
Failed opening required 'Smarty_Internal_TemplateCompilerBase.php'
(include_path='/homepages/39/d441258317/htdocs/mtx/application:/
homepages/39/d441258317/htdocs/mtx/application/controllers:
/homepages/39/d441258317/htdocs/mtx/application/models:
/homepages/39/d441258317/htdocs/mtx/application/../library:
/homepages/39/d441258317/htdocs/mtx/application/../library/Smarty
/sysplugins:/homepages/39/d441258317/htdocs/mtx/application/../library
/Smarty/plugins:.:/usr/lib/php6') in /homepages/39/d441258317/htdocs/
mtx/index.php on line 28
I changed the permissions of the folder compile_c but nothing, still get an error
Appreciate your help
looks like a big problem but was not. When i created my folder in local server did i put "public" folder with "P" upercase. Because i have a linux server and linux it's case sensitive it not works. Just rename the folder from "Public" to "public" and it done!

Resources