Opencart Extensions issue - opencart2.x

So I have just cleaned installed Opencart 2.2.0.1b from Github but i'm having one quite big issue with it.
If I click onto Extensions it only shows -
Extension Installer
Extensions
Modifications
Events
If I click onto Extensions and choose modules (or shipping analytics ect) from the drop down and press install it takes me to a inner page with a message saying "Permission Denied!".
Iv'e tried so far, creating a new admin, setting all permissions (from access permission) adding my ip to the api, adding vqmod, creating a new api, updating, manually adding all permissions to the database (was only a rough copy though and it did cause a few errors) and I think that maybe it.
If anyone can help it will be gratefull.
Thanks!

Have you tried giving permissions to apache?
Is all of your folders are 0755 and files 0644?

Related

InstallShiled2011+Install Folder Getting Deleted

I have an application, which is getting installed C:\ProgramFiles\RootFolder\InstallDir.
I have another application which is also getting installed in same root folder , eg:
C:\ProgramFiles\RootFolder\InstallDirofAnotherApp.
Here when I am trying to reinstall my application, it is deleting the entire Root Folder, It doesn't mind about the another installation of the other one.
So, it is deleting C:\ProgramFiles\RootFolder
Is there any setting to do like that? This is a legacy project and I am new to this. Unable to fine the cause
Thanks,
Nanda
What type of projects are these applications (basic MSI, or InstallScript)? Check [INSTALLDIR] (General Information -> INSTALLDIR) in both packages; if these properties are different, see if there is any custom action that perhaps delete some files/directories.

Media Browser show the directory but it doesn't show content in MODX

I have been encountering the following issue and I´m going a bit crazy. I hope you can help me:
In the backoffice, I can see the media folders but when I click on it, it doesn´t show me the content (files)
The strange thing is that this is only happening in some folders. And there are no restrictions or rules applied ont he media browser.
Some things to take in to consideration:
Modx version 2.3 (I already upgraded, but still not working)
Ftp folder permissions are all 777
The media Path file source are all correct
I deleted the cache + permissions
The error.log file isn´t showing any visible error.
My ACL is correct, it has administrator permissions
enter image description here
enter image description here
Please advice.
Many thanks!!
UPDATE :
The directories was corrupted I created the new directories and rename the old directories.
Not sure if this will fix your particular issue - but I noticed in the media source setup you have a forward slash (/) before your paths as well as after. I think in general it's good practice to have the same number of forward slashes as you have directories listed. I usually include the / after the last directory, but DON'T include one before "assets".
I don't know if this is the "official" way to do things, but I have had many issues uploading and using the media browser if I don't set it up as above.

Orchard 1.8 Package Installation Failure

I am trying to install a package (oForms) with a new Orchard 1.8 installation, but receiving the following error:
"Package installation failed: There was an error installing the requested package. This can happen if the server does not have write access to the '~/Modules' or '~/Themes' folder of the web site. If the site is running in shared hosted environement, adding write access to these folders sometimes needs to be done manually through the Hoster control panel. Once Themes and Modules have been installed, it is recommended to remove write access to these folders."
This seemed rather straightforward, however my host has confirmed permissions are fine (and even added Everyone/Full Control to the folder), so I'm lost and appears to be happening with all modules from the Gallery, not just oForms. I changed the Config/log4net.config file to log everything, and I don't see anything specific in there except where it logs the same message above. Nothing outside of that stands out at all.
Is there a way to see why this is failing? Or, if not, is there a way to get the module and install it manually? I tried to download from the gallery, but it's just a NuGet package so I'm not sure how to take that and grab the raw module files.
You can use a program like 7zip to unzip the nuget package, then copy in the module manually yourself.
As for the permissions, when adding a new permission to the folder use:
IIS AppPool\name of your application pool
I also had this exact error message when installing modules from the gallery, and it took me a while to figure out what was happening. I made new installations, copying over files one-by-one, and eventually found the culprit. For my case anyways...
For me, it was all due to a bad formatting in my custom Theme. Specifically the Theme.txt file. The line where is says Version:, I had it formatted without any "."
Good:
Version: 1.0
BAD:
Version: 1
Yes, doing this simple mistake prevented me from installing Modules.

Magento doesn't change languages

I'm trying to configure my Magento store to display content in Spanish, but it isn't working.
I've done the following steps:
Download the package from Magento and copying the "es_CO" folder in app > locale
Went to Manage Stores and created a new Store View with code "default_spanish"
Went to Configuration, selected the new store, unchecked the "Use Website" in Locale Options > Locale and choose Español(Colombia).
Flushed the Cache and went to the frontend. The dropdown menu appeared where I'm asked for the language, but when I change stores the language doesn't appears.
I've tried with other language packages and changing the default language, but it isn't working (I'm still getting everything in English). I haven't installed a theme yet.
Try to reindex data also. Config->Index management->Select all->Reindex data.
Try to run Compilation in Config->System->Tools->Compilation->Run Compilation Process.
Also you can try to delete all folders through ftp into root/var/cache. Let me know if it works.Best Regards.

OwnCloud Remove all files prompt

I have a owncloud server and the owncloud desktop client.What I want to do is to be able to delete things server wise and have it automatically delete from the pc. The problem is that the owncloud client displays a warning message of "Remove All Files"? with the choices of Remove all files or to keep files when the files are deleted from the server. Is there a way to not have the prompt come up and automatically remove all files?
In the version 2.2.3 (maybe earlier), you can change the configuration file to disable the prompt.
See the code where the prompt is invoked and the code showing the configuration file property.
If you edit (on Windows): c:\Users\myuser\AppData\Owncloud\owncloud.cfg and add the following, under the [General] section, you will no longer get the prompt.
promptDeleteAllFiles=false
The short answer: You cannot change this currently.
The long answer: The dialog was added as a safe-guard because there were cases where you could lose all your files unintentionally, e.g. if your admin re-created your account and left it empty. The client would assume the files had gone and would replicate this (it could not know better), so it would replicate the data removal locally. The code is still there today just to be safe.
If you are fearless, you can patch Folder::slotAboutToRemoveAllFiles(). Alternatively, you could open a bug report so we can solve this for everyone. What is your motivation to be able to do this without a prompt?
PS: The sources can be found on GitHub. URL and build instructions at http://doc.owncloud.org/desktop/1.5/building.html.
I have a script that processes the files that someone drops into ownCloud and it will then move them to the final storage place. However, this prompt stops the client from syncing until I manually log in to acknowledge it... I guess I will learn how to patch this.. Dropbox doesn't do this. Google Drive doesn't do this. But since I can't use cloud services (compliance issues), I have to use this solution until I can build a new secure upload means.

Resources