matthusby / brewcompetitiononlineentry

Automatically exported from code.google.com/p/brewcompetitiononlineentry
0 stars 0 forks source link

Menu Links are created improperly, missing "index.php?section=". #401

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install BCOEM per installation documentation
2.  Configure config.php with database data and web server info including 
subdirectory.
3.  Configure the system via the startup wizard.
4.  Links on the top of pages are wrong/created improperly.

What is the expected output? What do you see instead?

I expect a URL like this:

http://www.scubabrewclub.com/Comp2014/index.php?section=rules

But instead see URLs like this:

http://www.scubabrewclub.com/Comp2014/rules

It seems that index.php?section= is missing from all of the top menu URLs 
except LogIn.  Help also works as expected.

I also tried uploading a new .htaccess file with the edit in there and it 
didn't change the behavior.

URL above is accessible from the Internet if you need to see how the site is 
performing.

What version of the product are you using? On what operating system?

CentOS 6.5.x (64-bit), w.latest versions of Apache, PHP and MySQL.

Please provide any additional information below.

Site is hosted on a multi-tenant web server with multiple domain names.  Web 
server name (primary name of the server) is not the same URL as the site name 
(web site name:  www.scubabrewclub.com).

Apache error logs:

[Mon May 05 13:07:51 2014] [error] [client 167.206.238.126] File does not 
exist: /var/www/scuba/favicon.ico
[Mon May 05 13:08:24 2014] [error] [client 167.206.238.126] File does not 
exist: /var/www/scuba/favicon.ico
[Mon May 05 13:28:33 2014] [error] [client 167.206.238.126] File does not 
exist: /var/www/scuba/Comp2014/rules, referer: 
http://www.scubabrewclub.com/Comp2014/index.php?section=entry
[Mon May 05 13:28:36 2014] [error] [client 167.206.238.126] File does not 
exist: /var/www/scuba/Comp2014/volunteers, referer: 
http://www.scubabrewclub.com/Comp2014/index.php?section=entry
[Mon May 05 13:41:00 2014] [error] [client 167.206.238.126] File does not 
exist: /var/www/scuba/Comp2014/rules, referer: 
http://www.scubabrewclub.com/Comp2014/

Original issue reported on code.google.com by timmcma...@100greenwood.net on 5 May 2014 at 5:52

GoogleCodeExporter commented 9 years ago
Did you choose the option for "Use Search Engine Friendly URLs" when setting it 
up? I've found that setting this to Yes, at least on my server, results in tons 
of errors. Setting it to NO resolves them all.

Original comment by br...@brewdrinkrepeat.com on 6 May 2014 at 2:10

GoogleCodeExporter commented 9 years ago
I don't have an admin login to the site, but I think that option is not set.  I 
think this issue has to do with either the settings in the site/config.php file 
or something stored in the database.

I decided to install a test version and that installation went predictably well 
(with the noted errors I am having--see new issue list items).  I did a diff of 
both directories and the only two files that were different were 
site/config.php.  Making changes in site/config.php does not resolve the issue.

Original comment by timmcma...@100greenwood.net on 6 May 2014 at 2:26

GoogleCodeExporter commented 9 years ago
Brian hit it on the head when he asked about the "Use Search Engine Friendly 
URLs" during set up. As a precautionary measure, nomenclature has been added to 
the preferences screen and the default setting is "No" during setup.

Original comment by gpzhumphrey on 10 Nov 2014 at 11:28