Need Help for installation

kelley Mak Sec

Active member
May 4, 2022
238
97
28
Hello Everyone
Few days back I downloaded zCart v2.5.1 from here and now i am trying to install it on VPS
But i am facing problem as it shows "Forbidden - You dont have permission to access"
Can anyone please help me
 

NostraDumbAss

Well-known member
Babiato Lover
GiveAway Master
Trusted Seller
Trusted Uploader
Apr 25, 2021
294
280
63
Babiato
depending on your web server, you need to config the htaccess file, and if you're using nginx, make sure you have the locations setup correctly
 

Silva

Active member
Oct 12, 2020
432
233
43
Hello Everyone
Few days back I downloaded zCart v2.5.1 from here and now i am trying to install it on VPS
But i am facing problem as it shows "Forbidden - You dont have permission to access"
Can anyone please help me
You can either edit that default file or create a new one for your domain. Assuming you want to create a new virtual host configuration for the domain example.com, you would need to do the following steps. swap out example.com for the name of you domain.

cd /etc/apache2/sites-available/
sudo cp 000-default.conf example.com.conf
sudo mkdir /var/www/example.com
sudo mkdir /var/www/example.com/public_html
sudo echo '<h1>This is the index file of example.com' > /var/www/example.com/public_html/index.html
sudo chown -R 775 /var/www/example.com/

Now you have a config file called /etc/apache2/sites-available/example.com.conf, a web root at /var/www/example.com/public_html and an index.html file in the web root.


Next you need to modify the config file for your domain name (remember swap example.com for your domain name:

sudo nano /etc/apache2/sites-available/example.com.conf


The file should end up looking like this:

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


Once you have made the changes to the config file, you need to enable the virtual host. This involves creating a symlink to your config file in /etc/apache2/sites-enabled/. Apache2 has a helper to do this:

sudo a2ensite example.com.conf


You can also disable the 000-default config if you want:

sudo a2dissite 000-default.conf


Now the preparation is finished, you need to restart apache for the changes to take effect:

sudo service apache2 restart


For more information visit: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
 

kelley Mak Sec

Active member
May 4, 2022
238
97
28
You can either edit that default file or create a new one for your domain. Assuming you want to create a new virtual host configuration for the domain example.com, you would need to do the following steps. swap out example.com for the name of you domain.

cd /etc/apache2/sites-available/
sudo cp 000-default.conf example.com.conf
sudo mkdir /var/www/example.com
sudo mkdir /var/www/example.com/public_html
sudo echo '<h1>This is the index file of example.com' > /var/www/example.com/public_html/index.html
sudo chown -R 775 /var/www/example.com/

Now you have a config file called /etc/apache2/sites-available/example.com.conf, a web root at /var/www/example.com/public_html and an index.html file in the web root.


Next you need to modify the config file for your domain name (remember swap example.com for your domain name:

sudo nano /etc/apache2/sites-available/example.com.conf


The file should end up looking like this:

<VirtualHost *:80>
ServerAdmin [email protected]
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


Once you have made the changes to the config file, you need to enable the virtual host. This involves creating a symlink to your config file in /etc/apache2/sites-enabled/. Apache2 has a helper to do this:

sudo a2ensite example.com.conf


You can also disable the 000-default config if you want:

sudo a2dissite 000-default.conf


Now the preparation is finished, you need to restart apache for the changes to take effect:

sudo service apache2 restart


For more information visit: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
thanks mate for this superb help
 

hashkiller

Well-known member
Babiato Lover
GiveAway Master
Nov 24, 2019
357
490
93
Hello Everyone
Few days back I downloaded zCart v2.5.1 from here and now i am trying to install it on VPS
But i am facing problem as it shows "Forbidden - You dont have permission to access"
Can anyone please help me

I had the same problem you just have to fix the URL redirection to your public-html folder
ask in StackOverflow there are many threads that can help you.

You can even ask in the forum and many people can help you.


Also, you can see it on youtube to get more help on how to make it possible.
 

kelley Mak Sec

Active member
May 4, 2022
238
97
28
I had the same problem you just have to fix the URL redirection to your public-html folder
ask in StackOverflow there are many threads that can help you.

You can even ask in the forum and many people can help you.


Also, you can see it on youtube to get more help on how to make it possible.
Thanks mate ...
But just making changes in .htaccess helped me to install the script
 

Osurfme

New member
May 5, 2022
11
2
3
Any help on how to install the addons?
 

Attachments

  • IMG_20220512_134345.jpg
    IMG_20220512_134345.jpg
    5.7 MB · Views: 6
Last edited:

hashkiller

Well-known member
Babiato Lover
GiveAway Master
Nov 24, 2019
357
490
93
Any help on how to install the addons?


Try increasing wp_memory_limit

Go to wp-config.php and add this line of code
define('WP_MEMORY_LIMIT', '128M'); or define('WP_MEMORY_LIMIT', '512M');
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu