Fatal error: Class 'JFactory' not found [closed] - joomla

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am recently start work in Joomla and I have an error please help me
Fatal error: Class 'JFactory' not found in joomla/helpers/system.php
on line 48 the line show in 48 row is
$this->application = JFactory::getApplication();

Firstly, ensure you have the latest version of the build you're using. So either 1.5.26, 2.5.8, or 3.0.2
Once done, download a fresh copy of Joomla, extract the "includes" and "libraries" folders, and upload these 2 folder (preferably as zip files) via the FTP and extract them.
As a little side note. If you already have, please don't edit any core Joomla files. This can cause all sorts of problems on the security and functionality side of things.

I experienced the same issue and I later discovered that factory.php file was missing from "libraries/joomla" directory. I'm not sure how that happened but I replaced the file from an update zip file and that solved it.

Related

Duplicate script tag in blade.php file [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I'm using PhpStorm 2019.3.1 and I see this error. How to fix this problem?
It's a bug in IDE (in one of the bundled plugins to be precise). To get rid of it you would have to disable Vue.js plugin (worked well for me, especially since I do not use Vue)...
https://youtrack.jetbrains.com/issue/WEB-42930 -- watch this ticket (star/vote/comment) to get notified on any progress.
As per #lena comment: as a workaround, you can disable Vue | Duplicate template/script tag inspection in Settings/Preferences | Editor | Inspections
P.S. This issue can be reproduced with any project with vue npm package installed.
If you do not use Vue in your projects, I guess getting rid of package.json or at very least vue entry from there should also do the trick.
UPDATE 2020-03-05:
The aforementioned ticket is now marked as fixed for 2020.1 version.

Weird problem with my Laravel site's view file, How is this possible? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I checked out the codes of one of my Laravel website's view files this morning on the online server and noticed that they are not the same as what I was uploaded before and with my local backup files which contain my last updates! However, my website showing everything exactly what should be! (Matching with my last changes) I checked files multiple times but the result was the same and codes don't match! How is this possible?
Laravel caches the compiled views when the APP_DEBUG=false and the environment is production. so you can do two things
go to following path
storage/framework/views
and delete all the compiled views.
or
php artisan view:clear
run from console

How to create a Mozilla Firefox plugin? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have to create a Mozilla Firefox plugin that will help in taking remote access to other computer. I am actually a newbie to this and know nothing how to get it started. I tried googling it but all articles shows the creation of Firefox extension. Can anyone please guide me to some tutorial where it shows how to create a plugin for video or audio. Thanks in advance and please excuse my silly question.
Thanks
Downloads
All the code I’ve created here is available both as a ZIP file of everything, so you can start experimenting, change stuff and see what happens. It is also available as an XPI file, which you can install in your Firefox just to test the functionality (drag and drop it into Firefox).
Download Link Target Finder code as a ZIP file.
http://www.robertnyman.com/extensions/LinkTargetFinder.zip
Download Link Target Finder as an XPI file.
http://www.robertnyman.com/extensions/LinkTargetFinder.xpi

Compiling dojo into a single build file [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Does any one has idea to compile a dojo into a single file. I am trying to host the project into a website, and dojo has 100's of files to be uploaded.. if any one got idea. please share.
As addition to the answer of Craig of following the build tutorial, I also want to add that there's a web builder that can help you with it.
With this tool you can specify the modules you need and create a single JavaScript file of it.

Error in magento admin reports section [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi guys i am working on a magento commerce site and got a bug in magento admin panel under reports section what actually it is that when i tries to export any report such as Shopping cart items or customer review in either CSV or xml format it gives me a file to download but with wrong extension type such as if i am downloading report as in csv format it gives me a file like
tag_customer_detail.csv-, attachment
the part (-, attachment) giving the downloaded file not to open in any editor ...
any one has address this issue before in the past or has some solution to this problem are mostly welcome.
Thanks
See the content of method exportCustomerDetailCsvAction in file Mage/Adminhtml/controllers/Report/TagController.php
and check what is the value assigned to $fileName there (You may find -, appended over there, but it's a wild guess).
Do you have any extension which rewrites this functionality?
After searching through the internet i found that Google Chrome has some kind of issue with
Content-Disposition header parameter, it needs a semicolon after the file name so guys if any one has got this error with their magento 1.6.2 v please edit your code.
1) Go to app/code/core/Mage/Core/Controller/Varien/Action.php
2) find a protected function _prepareDownloadResponse()
3) and change the line
->setHeader('Content-Disposition','attachment;filename="'.$fileName.'"')
TO
->setHeader('Content-Disposition','attachment;filename="'.$fileName.'";')
Happy coding :)

Resources