Joomla Fatal error - joomla

I am new to Joomla and i have created a component folder as com_joomlabook
within that 2 files as joomlabook.php and joomlabook.html.php
But when i run it in the browser using http://localhost/joomla/Joomla_1.5.7-Stable-Full_Package/administrator/index.php?option=com_joomlabook
Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /home/ntdg/public_html/joomla/Joomla_1.5.7-Stable-Full_Package/administrator/components/com_joomlabook/joomlabook.php on line 6 that is in the getPath line why so??Please suggest me.

Did you "install" the component or add a row to the components table? Joomla doesn't just see what folders are there and run scripts.
I actually just wrote a blog post last week on how to create your own components quickly, which might be useful: http://infuseddesign.co.uk/blog/7-joomla/24-building-joomla-components

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.

Connection problems in Laravel 5.7

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:\xampp\htdocs\Laravel\Blog\server.php' (include_path='C:\xampp\php\PEAR') in Unknown on line 0
Someone knows, why did this happen?
In your project folder, the server.php file is missing so you got this error
The solution will to create another project then copy the newly created server.php this will solve it.
Another Solution is:
Open the link: https://github.com/laravel/laravel/blob/master/server.php
Copy all code
Open Notepad and paste your copy code
save Notepad file and set name server.php
Copy the server.php file and paste it inside your Laravel project
Run your project again in browser Now you will not get an error and the Laravel project will work properly.

how do i use the laravel talk functionality

i want to add a user conversation function in my app, but i am having problems installing the talk functionality. i have downloaded the project from github, but i was unable to use it because of this two errors
Warning: require(C:\xampp\htdocs\tok\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\tok\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\tok\bootstrap/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\tok\bootstrap\autoload.php on line 17. is there a way out of???
does anyone know how use the talk functionality by nahid??
You just need to run the following in the project folder:
Composer Install
Here is a question with a similar issue that might help you get to the root cause: (possible duplicate question)
Laravel 5 Failed opening required bootstrap/../vendor/autoload.php

Magento error after moving website to another server

I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)

Blank pages at joomla backend,error 404,not saving changes

Blank article page.
Errors found listed below .I'm a beginner with joomla I'm lost on a project now .at First was error 404 after update to joomla 2.5.9 ,now i cant even access ,the articles.I'm getting blank pages from admin pages of the backend.Is dere a way i can copy all the articles out from the folder directory of gantry/joomla. If yes I can start building the website all over again. please help anybody Deadline for site to go live is tommorrow.,
Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with JCacheController::store($data, $id, $group = NULL) in C:\xampp\htdocs\Gantry417\libraries\joomla\cache\controller\page.php on line 199
Strict Standards: Only variab,les should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 22
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 23
Warning: include_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Warning: include_once(): Failed opening 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Fatal error: Class 'ContentHelperRoute' not found in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 273
Warning: require_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Check the permission to the route.php file.
Make sure the route.php file exists on the mentioned path.
The route.php file is not there / is not readable.
download the update package 2.5.9 http://joomlacode.org/gf/download/frsrelease/17967/78436/Joomla_2.5.x_to_2.5.9-Stable-Patch_Package.zip and explode it over your current site;
clear the cache/* folder
re-assign permissions (chown -R user:group *)
you should now be able to access administrator.
If you can also access the frontend, you're done.
Else assign one of the default templates (i.e. beez) and you should be able to see the website
If the latter works, then most likely you have a wrong gantry, re-download the right version of the template for your website.
If it doesn't, simply reinstall it there may be something wrong.

Resources