i use the version 3.0.0.1 version. i try lot but and admin > extension > installer > warring error alert The directory catalog/controller/common is not allowed to be written to!
When you are installing an extension from admin > extensions > installer then the OpenCart system is checking the write permission of allowed directory/folder listed on the file located in admin\controller\marketplace\install.php on near about line No. 124.
You need to add your missing path there. Copy the missing path and paste into the $allowed array and do not forget to add a trailing slash (/) at the end of your path. See an example of missing path catalog/controller/common below:
Here I'm adding the path with a trailing slash (/)
Everytime an error path you get you need to add on that file.
Related
I am setting my systems for codecommit. but getting following error
I followed the below link :
https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh-windows.html
/c/Users/Prasanna/.ssh/config: line 1: Bad configuration option: \377\376h
/c/Users/Prasanna/.ssh/config: terminating, 1 bad configuration options
here is the config file
Host git-codecommit.*.amazonaws.com
User ********
IdentityFile ~/.ssh/codecommit_rsa
Am I missing anything to configure ?
You probably have some illegal characters in the config file. I had this problem while creating a config file on Windows. Unfortunately, simply opening the file in a Windows text editor may not show the illegal characters.
I was able to find this problem by running cat filename from a Bash prompt in Windows (git bash) and was able to fix it by running dos2unix filename in git bash. The same may work for you as well.
Just had the same issue. Open the file with Notepad++. On the bottom right it tells you the encoding the file is in. It has to be UTF-8 without BOM. You can fix that via selecting a new encoding at the top and saving the file.
This happened to me today, and I just recreated the config file and put my configs there, it works.
The Prettier docs say to use --use-tabs to override the default behavior. WebStorm automatically populated the Prettier package:
That's a folder. I tried changing it to npm\prettier.cmd and adding the switch, but that doesn't work (It just turns red).
How can I set WebStorm to use tabs with Prettier?
If your project has a .editorconfig file, you can override the indent_style setting in there.
# top-most EditorConfig file
root = true
[*]
indent_size = 4
indent_style = tab
I found these resources helpful too:
https://prettier.io/docs/en/options.html#tabs
https://editorconfig.org/
Due to https://github.com/prettier/prettier/pull/2434 fix, Prettier (even global!) uses configuration file nearest to current file (up the directory tree) when formatting.
So, you can install it globally and configure it in your project, by adding the corresponding .prettierrc file or "prettier" section in project package.json.
I am facing one error while login into sitecore.
"Could not load file or assembly 'Sitecore.Analytics' or one of its dependencies"
Even if I exclude sitecore.analitics.config from incude folder. But still I am facing this issue.
You must have the Sitecore.Analytics.dll file in your /bin folder, even if you are not using DMS.
If you are missing the file completely then you should re-download the Sitecore files for your version from SDN and add the missing file to your application.
You can also try to exclude the Sitecore.Analytics.Robots.config as well
This error means your /bin/ does not contain Sitecore.Analytics.dll
I would also check to make sure there is nothing in your web.config file (or various include files) that is targeting a specific version of the Analytics.dll
Please exclude these files from app_config/include folder and then retry
Sitecore.Analytics.config
Sitecore.Analytics.ExcludeRobots.config
Sitecore.Analytics.RobotDetection.config
I was working in visual studio, and I made a few changes to one of my projects (changed a few include directories). When I tried to build that project later on I got the following error message:
cl : Command line error D8036: '/Fo.\obj\ms100_r' not allowed with multiple source files
I don't see how that is relevant to what I changed at all. I even rolled my .vcxproj file back to the previous version and that error still persists. I am clueless as to what is causing it. Aren't command line parameters supposed to be managed by visual studio anyway?
had the same problem and realized i had removed the slash at the end of:
configuration properties->c/c++->output files->object file name->
once i added back the slash at the end of the file name, everything worked again
I had a similar error with /doc. For me the solution was to change Configuration Properties / C/C++ / Output Files | XML Documentation File Name from "$(TargetPath).xml" to empty string.
this error due invalid setting in project Browse information .
goto configuration > C/C++ > Browse information > Enable Browse Information to None
A twisted variation on the selected answer is if you use quotes around pathname. The backslash must be the last character.
So:
/Fa"\base\some dir\" will fail
/Fa"\base\some dir"\ will work
Been fighting with Mercurial's .hgignore for a while under Windows.
I have a folder named Upload which is currently empty. I do want it tracked so I added a .empty file in it which work fine. I want this so that new developers doing an hg clone get the Upload document required for the application.
Thing is I never want the folder to be populated with anything on the source control itself (test uploads from a development machine).
Example:
If I add Public/image.jpg it wouldn't be tracked.
Additionally I would like it for sub directory to be tracked. So if developer adds
Upload/users/.empty I would like this to be tracked.
Is this possible with regex voodoo?
In mercurial (and unlike in svn and cvs) adding a file overrides the .hgignore file, so you can put this in your .hgignore:
^Uploads/.*
and your Upload/.empty that you added will still be created on update and thus they'll get the directory.
Getting it to ignore files in upload but not not ignore files in subdirectories in Upload could be done with:
^Uploads/[^/]*$
which says: ignore anything that Starts with Uploads and has no further slashes in it.
Really though, you should be creating Uploads with your build/install/configure script when possible, not with the clone/update.
Try putting
Uploads/(?!.empty)
in .hgignore in the root of the repository
Try
^Uploads\b.*/(?!\.empty)[^/]+$
This should match any path starting with Uploads where the text after the last slash (=filename) is anything but .empty.