I Couldn't Install Opencart 2.1 - php

I'm trying to install OpenCart 2.1 using the 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

Check-in (d:\wamp\www\opencart\upload\config.php) that "config.php" file is still there or not. If it is not, you search "config-dist.php" and "admin/config-dist.php" and rename this "config.php". If there are not then you have to reinstall opencart.
Probably it will be OK.

Related

Problem with laravel 8 installing via composer [duplicate]

This question already has answers here:
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error: 1416F086
(7 answers)
Closed 1 year ago.
When I have tried to install composer for laravel 8 on XAMPP localhost (on Macbook pro- on the path /Applications/XAMPP/xamppfiles/htdocs/the my project folder),
and when I have run first command:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
I have gotten this message in command line (terminal):
-bash: /Applications/MAMP/bin/php/php7.4.16/bin/php: No such file or directory
further to, I have found the following information:
You need to install XAMPP for Windows, MAMP for Mac OS and Apache with PHP 5 on Linux.
on :
https://nmgtechnologies.com/blog/web-application-php-laravel-framework.html
(in requirements for Laravel section)
For that, I have installed localhost MAMP, then I have tried installing composer on MAMP by running 4 commands that existing on https://getcomposer.org/download/.
Commands 1 & 2 were OK, but for command 3, it gave me errors as follow:
*The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
The download failed repeatedly, aborting.
So, I opened php folder (first one) in the following path:
/Applications/MAMP/bin/php/php7.4.16/bin/php
and I found other versions expect required one (php7.4.16),so I installed it, but when I opened its folder, I found its subfolders are different of other versions, and it doesn't contain same folders (bin, php) in the path.
for that, the installing is failed (command 3)
NOW:
Should I use and complete installing with /MAMP, could me to install on XAMPP
also?
how to solve this problem?
Note: I have currently PHP Version 8.0.9, and as show in installing path : php7.4.16, is the problem from here?
Thank you for my helping in advance.
I assume your last php was version 7.* and you installed 8.* now you want to use php version 8.*
for that you can add php installation path to your system environment paths.
MAMP and XAMP are offers a web server, database server, and php pre configured.
but if you dont want to use MAMP or Xamp applications you can download php from follwoing link and follow the documentation instructions for operating system.
https://www.php.net/downloads

Installing PHP PECL module on OpenShift

I'm trying to install the PECL oauth module on OpenShift by declaring the following in the file .openshift/pear.txt
pecl/oauth
I believe that this is the preferred way to declare project dependencies for PHP projects on OpenShift but I get the following build error;
failed to write /opt/rh/php54/root/usr/lib64/php/modules/oauth.so
(copy(/opt/rh/php54/root/usr/lib64/php/modules/oauth.so):
failed to open stream: Permission denied)
Is it possible to include this module or must I create a custom cartridge?
Thanks
Is it possible that module is already installed? Have you tried creating a phpinfo(); page to see what modules are already installed and available?

Pear Installation Error in wampserver

I'm trying to setup pear in my wamp server.but i'v got this error.
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\W
indows\pear.ini): failed to open stream: Permission denied)
how can i fix this?

daloRadius Is not working, DB.PHP file not found

daloRadius is an open source and free software based on php, i downloaded it and trying to run it in waamp server, after the login page i am getting this error
include_once(DB.php): failed to open stream: No such file or directory in C:\wamp\www\daloradius-0.9-9\library\opendb.php
I have searched thoroughly the db.php file but couldnt find it in the folder, what should I do? Do Ii have to create the file?
I was working on a ubuntu 14 based freeradius setup and daloradius as web interface, encountered the same issue.
PHP Warning: include_once(DB.php): failed to open stream: No such
file or directory in /var/www/html/daloradius/library/opendb.php on
line 84
Installing php-db worked for me:
sudo apt-get install php-db
You are missing the PHP Pear DB library. Install the library via pear install DB

Wamp and xml_unserializer issue

I am trying to fix an online site, but before that I would like to make it work on my local machine/wamp. Everytime I click on Search event and Register links on the site, the error below shows up.
Warning: require_once(XML/Unserializer.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\xxxxxx\includes\common_form_controls.php on line 19
Fatal error: require_once() [function.require]: Failed opening required 'XML/Unserializer.php' (include_path='.;C:\php\pear') in C:\wamp\www\itsonat\includes\common_form_controls.php on line 19
Is it because I don't have xml_unserializer installed on my computer? Where and How do I install it? I've been trying to install Pear in my wamp, but I am unsure of the relationship between Pear and XML_serializer.
Can someone please help me on how to fix this problem?
Thanks heaps. S:)
PEAR can be installed, of course. There are a couple of guides out there.
Also, install the PEAR modules required by your app to work properly, perhaps following this guide.
Hope it helps.

Categories