Jump to content

Default profile missing?


rushy
 Share

Recommended Posts

Hello

I've got off to a bad start trying to install PW on my local offline server, I must be doing something wrong as I have a bit of experience with Wordpress and it's running fine on my server, but I like the look of PW and hope to try it. Anyway I downloaded and unzipped the PW installation, the installation seemed to go right through ok, everything passed on the check lists. I selected the Default profile, and then when I try to click on Admin access or view the site I get "Not Found - The requested URL /processwire-master/about/ was not found on this server. Apache/2.4.10 (Ubuntu) Server at localhost Port 80"   Simply because the /about folder does not exist! It seems the profile has not been installed by the installation process despite everything else being ok? If I type localhost/processwire-master in the browser I get the Minimal Site Profile  "What is ProcessWire?" page but the links work "About" & "Site Map" don't work as the folders are not there. Bit confused as to why this is missing.

Please put me out of my misery if it's something obvious I am doing / not doing!

Many thanks - rushy

 

Link to comment
Share on other sites

Hi rushy and welcome.

It sounds like your .htaccess file isn't working. Check that it has been renamed from /processwire-master/htaccess.txt to /processwire-master/.htaccess and if it hasn't been, try renaming it manually.

If it has been renamed already, or after you rename it you still can't access /processwire-master/about/, open .htaccess in your preferred text editor and type some random characters at the top of the file and save it. That should get you a 500 error, which is ok, because it means that Apache is processing .htaccess. If you do get a 500 error, revert the changes and save it again.

Then come back to the forum and we will try some more steps. ^-^

<edit>Should have mentioned https://processwire.com/docs/install/troubleshooting/!</edit>

Edited by DaveP
  • Like 3
Link to comment
Share on other sites

Thank you DaveP

I searched the forum a bit more and found some similar problems people had encountered and I managed to get it working now! I'm not sure if it was related to the .htaccess you mention, but I changed an entry in my /etc/apache2/apache2.conf file - the AllowOverride was "None" and changing it to "All" and restarting apache has done the trick. I think it allows rewrites to my /var/www folder?  Anyway many thanks for your help - let's see if i can make some progress now...!

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

  • Like 2
Link to comment
Share on other sites

3 hours ago, rushy said:

I think it allows rewrites to my /var/www folder?

"AllowOverride directive is used to allow the use of .htaccess within the web server to allow overriding of the Apache config on a per directory basis." 

Just search the web: https://www.google.hu/search?q=what+is+AllowOverride+All

Happy ProcessWire tinkering! :) 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...