Joomla: Blank site when uninstall a component - joomla

I have installed AdvancedModuleManager while trying to assign modules to certain pages. However It did not work as I wanted and when I tried to uninstall it from the Administration panel - the website gone blank.
Both /administrator/ and front end are blank.
Any ideas how to fix it?
[22-Apr-2016 21:25:36 Europe/Sofia] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/public_html/libraries/regularlabs/helpers/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/plugins/system/sourcerer/sourcerer.php on line 41

The problem was that I have installed another Plugin called "Sourcerer".
Both "Sourcerer" and "Advanced module Manager" are made from "Regular Labs" and when I uninstalled the AMM I also uninstalled their common component called Regular Labs Library...
Installed it again and everything was fine

Related

How do I install WebExtension that developed by myself to Firefox Nightly?

I already know the way to temporarily install an add-on for debugging.
However, I want to install it persistently. I do not want to upload it to AMO, because I've developed it for use by myself only.
How do I install it on Firefox Nightly?
Browser: Firefox Nightly 56a1
OS: macOS 10.12.5
Edit
I attempted Andrew's way while referring to Getting started with firefox-addon, but an error occurred (This add-on could not be installed because it appears to be corrupt.), despite that temporary installation was successful.
Why did installation fail only when installing it from Install Add-on from File...?
Source code is here
https://github.com/KiYugadgeter/webext
Edit2:
The following is Error message on browser console.
1497764354857 addons.xpi WARN Invalid XPI: Error: Cannot find id for
addon /
Users/username/jsworks/webextensions/stacknotifier/something.xpi (resource://gre/modules/addons/XPIInstall.jsm:1642:17) JS Stack trace: loadManifest#XPIInstall.jsm:1642:17 <
async*init#XPIInstall.jsm:2122:13 < async*createLocalInstall#XPIProvider.jsm:4820:12 < getInstallForFile#XPIProvider.jsm:3437:5 < callProviderAsync#AddonManager.jsm:297:12 <
promiseCallProvider/<#AddonManager.jsm:321:53 < Promise#Promise-backend.js:390:5 <
promiseCallProvider#AddonManager.jsm:320:10 < getInstallForFile/<#AddonManager.jsm:1856:29
< async*getInstallForFile#AddonManager.jsm:1854:13 < getInstallForFile#AddonManager.jsm:
3560:7 < doCommand/<#extensions.js:1472:13
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/PopupNotifications.jsm :: PopupNotifications_refreshPanel/< :: line 806" data: no]
Recent versions of Firefox require you to sign the extension before you can permanently install it. To get your extension signed you don't have to publish it. All you need is a tool called web-ext. Then you can simply run this from your terminal:
web-ext sign --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET
Getting started with web-ext:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Getting_started_with_web-ext
web-ext sign:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference#web-ext_sign
Getting your AMO_JWT_ISSUER and AMO_JWT_SECRET:
https://addons.mozilla.org/en-US/developers/addon/api/key/
In short:
Downlaod and Install NodeJS
Open a new terminal and run npm install --global web-ext
Go to api key site and get your AMO_JWT_ISSUER and AMO_JWT_SECRET
Open a new terminal, go into the folder which contains your extension sources and run
web-ext sign --api-key=xxxx:xxxxxxx:xxx --api-secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Your error is: Invalid XPI: Error: Cannot find id for addon
Quoting WebExtension documentation:
When do you need an Add-on ID?
If you are loading the add-on from it's XPI file, are not loading it temporarily using about:debugging and it is not signed.
...
This is your situation; as such, you need to fill out the applications.gecko.id key in the manifest. This plays the similar role as setting key key in Chrome (in Chrome, the ID of a packed extension is a hash of the key field).
Alternatively (and possibly preferably), you can sign your XPI as indicated by Forivin's answer, because loading unsigned WebExtensions is only possible in Nightly. That would require interaction with AMO - but there's no requirement to host there.
Since you said you're using Nightly, you can also go to about:config, find the preference "xpinstall.signatures.required" and flip it to false. Then you should be able to install your extension from about:addons -> "Install Add-on from File..."

Drupal picture module uninstall

I cannot uninstall the drupal picture module.
I disabled the module at Admin > Modules
Went to Admin > Modules > Uninstall. I ticked the checkbox and try to uninstall.
I am getting that error when trying to unistall it.
Fatal error: Call to undefined function file_type_load_all() in /www/htdocs/liyago.com/sites/all/modules/picture/picture.install on line 91
Is there any other way to unistall it.
Thanks a lot.
You should try to apply patch #4 from the corresponding issue: https://www.drupal.org/node/2604628 and then uninstall the module.

Magento Braintree Install Errors

Have just installed Braintree extension - keep getting these errors..
Fatal error: Class 'Braintree_Payments_Helper_Data' not found in
/home/my-dir/public_html/app/Mage.php on line 547
Fatal error: Class 'Mage' not found in
/home/my-dir/public_html/includes/src/Mage_Core_functions.php on line
244
Fatal error: Class 'Mage' not found in
/home/my-dir/public_html/includes/src/Mage_Core_Model_Resource_Session.php
on line 108
It happens on the system - Configuration page - SALES - PAYMENT METHODS Tab
Looks like it cant find files from install - Have Braintree support looking at also but no suggestions as yet..
I think it maybe another extension causing conflict.. I have uninstalled & reinstalled a few times & reset cache.. but still not working
It seems you have enabled compilation and installed the extension.
Go in Admin
System>Tools>Compilation , disable it and try.

Cant install extension on Joomla 3.1

I am running joomla on IIS 7.5 and MSSQL, everything seems to be working just fine, but when I install JCE Eqitor from the admin panel it times out and when i check the logs for error this is what i got:
PHP Notice: Undefined index: cache_entries in
D:\Joomlawebsite\libraries\joomla\cache\storage\wincache.php on line
147
PHP Warning: Invalid argument supplied for foreach() in
D:\Joomlawebsite\libraries\joomla\cache\storage\wincache.php on line
150
I have IUSR permission as well.
Try to completely uninstall extension
http://www.inmotionhosting.com/support/edu/joomla-25/extensions/uninstall-extension
also modules and plugins if extension have.
Try to clear your site cache.
Go to global configration and check your site all folder's has writable permission.
try to install again with jce installation doc. http://www.joomlacontenteditor.net/support/installation/editor/item/install-or-update-the-jce-editor-in-joomla3

unable to run laravel 4

I thought it was about time to look at a PHP Framework so I chose laravel. However, getting it running is causing me grief.
I followed the video from nettuts installing laravel 4 and at 5.05mins into the video he uses the php command-line server command (available from 5.4) php -S localhost:8888 -t public/ followed by confirming that it works via localhost:8888 in the browser which displays 'Hello Wolrd!'
I have XAMPP installed and my version of PHP is 5.3.15. I attempted to test it by doing http://localhost/learning-laravel/public/
At this point I have already downloaded composer and installed the dependancies successfully.
But I keep getting the following error:
Warning: require(/Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/../vendor/autoload.php) [function.require]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/autoload.php on line 17
Fatal error: require() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/../vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/learning-laravel/bootstrap/autoload.php on line 17
Inside my learning-laravel folder I do have bootstap/autoload.php
Can someone please help? Thanks.
I had another look at my folder structure and I noticed that composer had not run correctly and there were missing files. I've reinstalled it and it appears to be working.

Resources