Announcement

#1 2018-05-14 17:19:57

rowan.bradley
Member
2018-05-14
3

Permissions error in netinstall

Hello/Hi/Greetings,

I downloaded the piwigfo-netinstall.php file, uploaded it to my webserver and accessed it. After saying that it had successfully downloaded the ZIP file and unpacked it, it gave me the following error:

Forbidden
You don't have permission to access /piwigo/install.php on this server.
Server unable to read htaccess file, denying access to be safe

What is likely to be the cause of this? What do I have to do so that I can run the installer? Deatils of my server are:
Apache Version        2.4.33
PHP Version        5.6.35
MySQL Version        5.6.39
Architecture        x86_64
Operating System    linux

Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://

Thanks for your help - Rowan

Offline

 

#2 2018-05-14 17:23:26

rowan.bradley
Member
2018-05-14
3

Re: Permissions error in netinstall

More info. There is no .htaccess file in the piwigo directory, there is one in the parent directory (i.e. the root directory of my site) which contains:

#<IfModule mod_suphp.c>
#suPHP_ConfigPath /home/sylvest
#</IfModule>

#SetEnvIf Request_URI ^swchoir/(.+)$ BUILD_NUM=00001
#RewriteEngine On
#RewriteRule ^swchoir/(.+)$ /home/sylvest/build%{BUILD_NUM}/public_html/swchoir/$1

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php5_module>
   php_flag asp_tags Off
   php_flag display_errors Off
   php_value max_execution_time 120
   php_value max_input_time 120
   php_value max_input_vars 5000
   php_value memory_limit 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
   php_value upload_max_filesize 64M
   php_value post_max_size 64M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit


Thanks - Rowan

Offline

 

#3 2018-05-14 20:47:30

executive
Member
2017-08-16
1214

Re: Permissions error in netinstall

Talk to your provider, or check your server logs.

Offline

 

#4 2018-05-14 20:51:21

flop25
Piwigo Team
2006-07-06
7037

Re: Permissions error in netinstall

Hello
if the netinstall fails it's sign that this issue will certainly come back with a manual installation

htaccess from your hosting is basic, it just set options which should be set elsewhere especially on shared web hosting.

check the chmod and unix user of the piwigo/install.php file first


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact