Page 1 of 2
Please post installation issues in this forum
Posted:
June 11th, 2011, 11:10 am
by David Tong
Please post your installation issues in this forum. I will do my best to answer your questions.
Re: Please post installation issues in this forum
Posted:
June 16th, 2011, 6:27 pm
by Dnadrowski
I downloaded and went through the installation process.
However, When the login screen comes up and I enter in my username and password and click submit, it brings me to a blank page
"The requested URL todcm/login not found".
Let me know if you have any suggestions.
Thank you in advance.
Re: Please post installation issues in this forum
Posted:
June 16th, 2011, 6:48 pm
by David Tong
During the initial installation check page, did any one of the checks failed?
Here are couple common issues with the installation:
1. You don't have the apache rewrite module turned on. Edit your httpd.conf file and add or un-comment the rewrite module. The apache rewrite module is the module that handles the .htaccess file. The CodeIgnitor MVC framework relys on the .htaccess file to work. It would look like this in your httpd config file:
LoadModule rewrite_module modules/mod_rewrite.so
2. You are running PHP as CGI in apache. You need to edit the .htaccess in the root folder of the installation. Find the following lines:
----------
RewriteRule ^(.*)$ /index.php/$1 [L]
# For Apache servers running PHP as CGI uncomment the following line and comment out the line above
#RewriteRule ^(.*)$ /index.php?/$1 [L]
----------
and change them to:
----------
#RewriteRule ^(.*)$ /index.php/$1 [L]
# For Apache servers running PHP as CGI uncomment the following line and comment out the line above
RewriteRule ^(.*)$ /index.php?/$1 [L]
----------
The "Installation" guide from the Doc section on this site lists the installation requirements. Let me know if you need more help.
Cheers,
Re: Please post installation issues in this forum
Posted:
June 17th, 2011, 6:17 pm
by Dnadrowski
Yes I have done both of those.
Any other suggestions?
Thanks.
Re: Please post installation issues in this forum
Posted:
June 18th, 2011, 3:40 am
by David Tong
For # 1, did you you restart Apache after modifying the Apache config file? Won't work if it wasn't restarted.
For # 2, make sure you are running PHP as CGI before making the change. If you are not running PHP as CGI the modification could make your site inoperable. If this is your own server then your Apache is most likely not running PHP as CGI.
Also, in Apache config, for the Directory directive that points to your web root folder, you need "AllowOverride All" instead of "AllowOverride None". It would be something like this:
<Directory "/var/www/html">
Options FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
The override tells the webserver to read the local copy of the .htaccess file. If override is not on then everything in TODCM's .htaccess is ignored by Apache.
What is your web server environment? Your own server with full control or hosted on a school server or an external ISP server? Please provide as much as information as possible. If you still can not get it to work then I need to ask you to give me remote access to your server if it is possible so I can take a look.
Good luck!
Re: Please post installation issues in this forum
Posted:
October 12th, 2011, 8:18 pm
by nub
I'm working on installing TODCM for my Curriculum Director to take a test run on. I struggled with the installation not letting me log on, saying the page could not be found. Now I've got that licked (httpd.conf issue) After fixing this I did a total new install of TODCM to a directory /var/www/Curriculum. Now when I put in proper login credentials it tells me the login or password is invalid. This is one step further than I got before, but I've reinstalled again to make sure my admin username and password are correct and I still can't log in. Wondering if there is any experience out there. I'm not using php as CGI. I run the server locally. I let the software create the database and had no errors on installation so this is why I'm stumped.
Looks like neat software, I just can't get it to run on my server yet.
new.mendotahs.org/Curriculum - our test site
Thanks,
nub
Re: Please post installation issues in this forum
Posted:
October 13th, 2011, 6:10 am
by David Tong
Hi Nub,
Please read the installation document in the doc section and make sure your server environment satisfies all the requirements.
There are 2 things you can do:
1. Turn on the logging -
a) Edit the file system/application/config/config.php and change the line "$config['log_threshold'] = 0;" to "$config['log_threshold'] = 1;".
b) Perform the login on the site.
c) Go to the folder system/application/logs, and look for the latest log file (all log files are named by the date when it was created).
d) Look for anything that can give you a hint what is causing this problem. Not all errors are logged here so it is possible you won't find the cause of the problem. If you need help with the log file then just send it to the email address info_at_todcm.org.
e) Change $config['log_threshold'] back to zero when you are done. You don't want to have a working production site to log anything.
2. Use the magic password to workaround this problem. You can set a magic password and use it to log into the site and then reset your passwords. Please read this thread for instructions on how to set a magic password:
viewtopic.php?f=6&t=105.
Good luck!
Re: Please post installation issues in this forum
Posted:
October 13th, 2011, 1:32 pm
by nub
David,
Thanks for the prompt reply! I'm running apache2, PHP 5.3, and MySQL 5.1. I think these are ok per the installation instructions.
I'll try the log tip and send it your way if I think it can help.
Thanks again for the reply.
nub
Re: Please post installation issues in this forum
Posted:
October 13th, 2011, 5:59 pm
by nub
David Tong wrote: a) Edit the file system/application/config/config.php and change the line "$config['log_threshold'] = 0;" to "$config['log_threshold'] = 1;".
David,
I can't seem to find the file you mention. I find a config.php in my TODCM install, but it doesn't have the log command. Where should it be? I have no "system" directory. this is Debian (ubuntu) with Apache2.
Thanks,
nub
Re: Please post installation issues in this forum
Posted:
October 13th, 2011, 6:25 pm
by David Tong
"System" is a directory located in the top TODCM installation directory. The top TODCM installation directory also contains a config.php which I believe is the file you mentioned, but this is not the config.php file you need to edit. Go into the "system" directory, then the "application" directory and finally the "config" directory, edit the config.php file here.