Jump to content


Photo

Fresh install without error notifications, admin and all links throw 404


  • Please log in to reply
6 replies to this topic

#1 neildaemond

neildaemond

    Sr. Member

  • Members
  • PipPipPipPip
  • 112 posts
  • 31

  • LocationHong Kong

Posted 21 October 2011 - 12:32 PM

Hey all, this cms looks very promising and I'm very anxious to give it a go.

But, I can't seem to figure out what I'm doing wrong here. I extracted the files to /var/www/p21/ then changed the permission to 775 and 664 with owners neil:www-data

I ran the web installer which didn't have any hick-ups. Opened the site at <myip>/p21/ to see the sample front page looking ok.

but, when i click on any links, or go to <myip>/p21/processwire/ i get 404s saying something like one of these:

The requested URL /p21/about/ was not found on this server.
The requested URL /p21/processwire/ was not found on this server.
The requested URL /p21/templates/ was not found on this server.

with this at the bottom:

Apache/2.2.14 (Ubuntu) Server at <myip> Port 80

any hints on to how i should debug this?
I've tried using the zip, tar and git installation methods
I've tried chmoding everything to 777
i've tried chowning everything to www-data:www-data

am i not handling the .htaccess file properly? I don't really know how to use them that well.. yet.
did it not install properly?
do i need to set something in the config?
or am i not meeting the requirements and the installer didn't notice?
if i turn on the debug mode, how do i check the logs?

any advice would be greatly appreciated. Thanks in advance,

neil

#2 diogo

diogo

    Hero Member

  • Moderators
  • 2,008 posts
  • 1089

  • LocationPorto, Portugal

Posted 21 October 2011 - 01:44 PM

Hi Neildaemond, welcome to the forum.
I never had any issue like this while installing processwire, and i couldn't reproduce it with any combination of permissions.
But what you are describing sounds very similar to this http://processwire.c...opic,597.0.html

Hope it helps

#3 ryan

ryan

    Hero Member

  • Administrators
  • 5,780 posts
  • 3124

  • LocationAtlanta, GA

Posted 21 October 2011 - 03:12 PM

I agree–I think that the thread linked to by diogo is exactly it. Please let us know what you find.

#4 neildaemond

neildaemond

    Sr. Member

  • Members
  • PipPipPipPip
  • 112 posts
  • 31

  • LocationHong Kong

Posted 22 October 2011 - 09:42 AM

Thanks a bunch for the quick reply you guys, I'm sorry I asked the same question, but that post didn't come up in any of my searches...

That link was exactly it, so easy that I could fix it from my phone ssh on my way to work :)

All i had to do was go to /etc/apache2/sites-enabled/000-defalut

and change the virtual host entry in the section <directory /var/www/>

...
AllowOveride None          <- i changed this to AllowOveride All
...

Thanks again, can't wait to dive into this CMS and hope it lives up to its reputation for custom data types and fields :D





#5 diogo

diogo

    Hero Member

  • Moderators
  • 2,008 posts
  • 1089

  • LocationPorto, Portugal

Posted 22 October 2011 - 10:00 AM

The CMS is much better than it's reputation. You will see for yourself :)

#6 neildaemond

neildaemond

    Sr. Member

  • Members
  • PipPipPipPip
  • 112 posts
  • 31

  • LocationHong Kong

Posted 07 November 2011 - 11:20 PM

The CMS is much better than it's reputation. You will see for yourself :)


I am TOTALLY seeing that for myself :D :D :D

Even with little to no php experience, I've been able to accomplish exactly what I wanted to do, with very little fuss using the api. And my needs were very custom... where drupal and simpleCMS failed me, processwire succeeded.  Ryan is a godsend for creating this project!

#7 diogo

diogo

    Hero Member

  • Moderators
  • 2,008 posts
  • 1089

  • LocationPorto, Portugal

Posted 08 November 2011 - 05:33 AM

Amen :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users