Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hey! I was just going through the tutorial and I'm stuck on trying to require the cms.php asset. Whenever I try to require it I get an error where it says localhost has redirected me too many times.

The php error logs aren't throwing anything but the apache access log is throwing multiple times before it just gives up:

::1 - - [23/Jan/2018:14:02:40 -0800] "GET /Aurelius/couch/login.php?redirect=%2Faurelius%2Fabout.php HTTP/1.1" 302 -
::1 - - [23/Jan/2018:14:02:40 -0800] "GET /aurelius/about.php HTTP/1.1" 302 6724

I'm using WAMP server to host locally and am on a windows 7 operating system. I've also tried a variety of different paths including:

-> /couch/cms.php
-> __DIR__. '/couch/cms.php'
-> getcwd() .'/couch/cms.php'

My file structure is:

>C:
>wamp64
>www
>Aurelius
>couch

Any help would be appreciated :)

Hi,

I think the capital 'A' in the folder-name 'Aurelius' is confusing the server.
Please try renaming the folder using all lower-case and let me know if it helps.

P.S. use the include directive given in the tutorial.

Re:

KK wrote: Hi,

I think the capital 'A' in the folder-name 'Aurelius' is confusing the server.
Please try renaming the folder using all lower-case and let me know if it helps.

P.S. use the include directive given in the tutorial.


I was encountering this same error then I noticed few of my folder name had capitalization I renamed them and it's working just fine. Thank you so much for the solution @KK :)
3 posts Page 1 of 1

Who is online

In total there are 6 users online :: 2 registered, 0 hidden and 4 guests
(based on users active over the past 5 minutes)

Users browsing this forum: Majestic-12 [Bot], rdamir82 and 4 guests

cron