I'm trying to install OpenCart using Wamp server but i got this message error .
Warning: require_once(d:\wamp\www\opencart\upload\config.php) [function.require-once]: failed to open stream: Permission denied in d:\wamp\www\opencart\upload\index.php on line 9
Thanks in advance.
In startup.php change:
// Error Reporting
error_reporting(E_ALL);
to
// Error Reporting
error_reporting(0);
If You had a fresh download (manual or from GIT) and tried to install, the installation setup at step 2 should check whether it is possible to write to required files/folders. The write access is required to create the config.php files (for catalog and for administration).
It is not required to create a blank empty.php before installation as there is a blank config-dist.php used to be copied into a config.php file.
So the only solution needed for this is to allow the write access (either 775 or 777). But when speaking of WAMP (and Windows) there should not be a problem with write access unless You are setting read-only permissions for all Your www folder...
This is a path issue. Check your path carefully.
config.php file is missing.
You need to rename "config-dist.php" and "admin/config-dist.php" to "config.php" respectively
As usual, the answer is in the error message:
"d:\wamp\www\opencart\upload\config.php"
"Permission denied"
Make sure PHP is able to read and write to this file - right click it in Windows and check Properties > Security.
you need to rename the file as config, no need to rename the file config.php
because already the PHP extension is available on that file
Related
In short: why index.android.bundle is not uploaded to Sentry server following expo's guide
I made a GitHub issue as I tested this with a clean repository. And there I specified the issue better and with more detail. The main problem could be the script I'm using. I will link the issue here:
https://github.com/expo/sentry-expo/issues/313
Hello.
I'm using the latest sentry-expo which correctly sends errors to sentry server.
I have followed the documentation from https://docs.expo.dev/guides/using-sentry/#uploading-source-maps-for-updates
On new builds index.android.bundle and .map is uploaded to sentry.
But when I make an update running eas update and following the sentry-cli releases... script as documented in expo guide, the android-'hash'.map file is uploaded and index.android.bundle is not.
Therefore dist is different between .js and .map file and Sentry issues don't contain source map information:
Source code was not found (see Troubleshooting for JavaScript)
Url app:///index.android.bundle
But if I change index.android.bundle to index.android.bundle.js in Sentry-cli --rewrite command the bundle is uploaded but issues still show the same information probably due to that android Archive is ~/index.android.bundle.js but the issue is expecting ~/index.android.bundle.
package versions:
"#sentry/react-native": "4.9.0",
"expo": "~47.0.8",
"sentry-expo": "~6.0.0",
I add here that I'm on Windows and couldn't get sentry-cli release to work as it is documented in expo-sentry tutorial. I used this script
cross-env ./node_modules/#sentry/cli/bin/sentry-cli releases --org 'organization name' --project 'project name' files 'release name' upload-sourcemaps --dist 'Android Update ID' --rewrite dist/bundles/index.android.bundle dist/bundles/android-'hash'.map
Thank you for all the help!
Android*.js file simply needed to be changed to index.android.bundle not to index.android.bundle.js. Now source maps are showing correctly.
Expo documentation showed everything correctly but my own understanding added the need of .js in file naming. Bundle file without any extension works correctly
I'm trying to copy files from my VM to my local computer.
I can do this with the standard command
sudo gcloud compute scp --recurse orca-1:/opt/test.txt .
However in downloading the log files they transfer but they're empty? (empty files are created with the same name)
I'm also unable to use the Cloud Shell 'Download' UI button because it gives No such file despite the absolute file path being correct (cat /path returns the data).
I understand it's a permissions thing somehow with log files?
Thanks for the replies to my thread above I figured out it was a permissions issue on my files.
Interestingly the first time I ran the commands it did not throw any errors or permission errors -- it downloaded all the expected files however they were empty. In testing again, now it threw permission errors. I then modified the files in question to have public read permissions, and it downloaded successfully.
Hi using fileUris in Azure extension of template, not able to download file in VM while launching VM from template.
It throws following error:
VM has reported a failure when processing extension 'customScript'. Error message: "Enable failed: processing file downloads failed: failed to download file[1]: failed to download file: unexpected status code: got=404 expected=200".
To get more insight about the issue, you check the following log files on your VM:
- /var/log/azure/custom-script/handler.log
- /var/log/waagent.log
enter code here
Your files are downloaded to a path like: /var/lib/waagent/custom-script/download/0/ and the command output is saved to stdout and stderr files in this directory. Please read these files to find out output from your script.
You can find the logs for the extension at /var/log/azure/custom-script/handler.log.
Please open an issue on this GitHub repository if you encounter problems that you could not debug with these log files.
Source: https://github.com/Azure/custom-script-extension-linux
Plese check weather your repository is private or public in github or any reposi.
Once you chenge it to public it let you download the repository
For storage private networking I needed to add the subnet of the VM to the firewall and enable the "Microsoft.Storage" services endpoint.
The message means that the waagent service was not able to download a file using the URL provided in the config file. There could be many reasons for that. I suggest that you need to test that URL manually from the VM to see if the URL can be downloaded at all.
I am a newbie to MicroStrategy. I have managed to install MicroStrategy and Install the sample (MSTR-SDK/samples/javaExternalSecuritySample) in MicroStrategy Root directory /web aspx/plugin directory.
I am still getting below error when I launch the MicrosStrategy web tool.
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
How do I fix this?
Can you browse to the file on your webserver at the location indicated (inetpub\wwwroot\plugins\ESM\JSP\mstrWeb.jsp) ?
Newbie alert.
Just installed Webstorm, now trying to get Git configured properly.
I created an empty project in Webstorm and received the warning "Can't start Git" / Applications/GitHub.app Probably the path to Git is not valid"
When I set the path to GitHub in the Applications folder and try to test it, I get the error message "Cannot run program "/Applications/GitHub.app": error=13, Permission denied"
Any suggestion?
Thanks for any support.
in terminal, run 'sudo xcodebuild -license' and then agree to the terms.
reference:
https://intellij-support.jetbrains.com/entries/62745413-Mac-OSX-can-t-start-Git-after-updating-Mac-OS-XCode
Resolved. Sometimes when I'm taught to fish, it takes me a couple trys. So I performed the which git again after thinking about it for a while, and copied the location to the field and it works. So I was confused between the GitHug,app and the actual git executable. THANKS for the pointer to which git