Yii Framework Forum: Project Manager – Source Code is now Open Sourced - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Project Manager – Source Code is now Open Sourced Rate Topic: -----

#1 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 31 March 2011 - 05:00 PM

Simple Project Manager / Bug Tracker

This is something I've been working on but never got a chance to complete, It has no installer and you'll need to configure it manually by importing the base.sql file and changing the db connection settings from the protected/config files.

Features

  • Issues
  • Wiki/Articles
  • Activity Feed
  • Projects


This is published for learning purposes, And is released under the new GPL license.

View Demo

Get it from google code!
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
4

#2 User is offline   seng 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 02-July 10
  • Location:Chennai, India

Posted 21 April 2011 - 12:19 PM

I'm new to Yii and the project seems to be a great starting point for learning. When I installed locally, the home page appears correctly, whereas other pages generate 404. Should I have to configure UrlManager option in config.php or have to add any .htaccess to use with friendly-urls?
0

#3 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 21 April 2011 - 03:09 PM

Make sure you have the .htaccess file there, and the mod_rewrite enabled for apache.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#4 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,665
  • Joined: 10-October 10
  • Location:Denmark

Posted 21 April 2011 - 05:21 PM

Truly useful - thanks! :)
"Less noise - more signal"
0

#5 User is offline   seng 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 02-July 10
  • Location:Chennai, India

Posted 22 April 2011 - 06:39 AM

View PostVince., on 21 April 2011 - 03:09 PM, said:

Make sure you have the .htaccess file there, and the mod_rewrite enabled for apache.


With the default checkout, no .htaccess is available in the project root. I tried the sample .htaccess code provided with the documentation, but still in vain. mod rewrite is enabled in Apache.
0

#6 User is offline   Vince. 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 432
  • Joined: 29-December 08
  • Location:Los Angeles,CA

Posted 24 April 2011 - 01:30 PM

If you tried the default and it didn't work then it's no the htaccess file. But here is what i use just in case:

# Compress JS/CSS/XML files
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
</IfModule>

# Disallow listing directories and files
Options -Indexes

# Disallow access to svn folders
<FilesMatch "\.svn/.*">
   order deny,allow
   deny from all
</FilesMatch>

# Disallow access to htaccess file
<Files .htaccess>
order deny,allow
deny from all
</Files>

# Rewrite Engine
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} \.(js|ico|gif|jpg|png|css|pdf|doc)$ [OR]
RewriteCond %{REQUEST_FILENAME} favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

# Redirect all incoming urls to the application
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>


How are you trying to access the tracker? Like what pages generate 404?
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image
0

#7 User is offline   seng 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 02-July 10
  • Location:Chennai, India

Posted 30 April 2011 - 10:32 AM

View PostVince., on 24 April 2011 - 01:30 PM, said:

If you tried the default and it didn't work then it's no the htaccess file. But here is what i use just in case:

# Compress JS/CSS/XML files
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
</IfModule>

# Disallow listing directories and files
Options -Indexes

# Disallow access to svn folders
<FilesMatch "\.svn/.*">
   order deny,allow
   deny from all
</FilesMatch>

# Disallow access to htaccess file
<Files .htaccess>
order deny,allow
deny from all
</Files>

# Rewrite Engine
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} \.(js|ico|gif|jpg|png|css|pdf|doc)$ [OR]
RewriteCond %{REQUEST_FILENAME} favicon.ico$ [OR]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

# Redirect all incoming urls to the application
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>


How are you trying to access the tracker? Like what pages generate 404?


Thanks for your great help! Finally, I managed to run it locally. I tried adding the htaccess to the project root, but it was of no difference. Few things made to suspect svn support files, so exported the same into different folder and ran the same code, it worked!!! I am not sure why the code the failed while maintaining it under svn. Still, http://localhost/tracker/roadmap generates 404. Other pages works good and I can learn from those pages very well.
0

#8 User is offline   shiv 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 05-November 11
  • Location:India

Posted 31 October 2014 - 04:27 AM

simple and good one
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users