Open GoogleCodeExporter opened 9 years ago
I should add also that:
1) routing seems wrong (link to "About" page doesnt work), neither does "What
is a
content manager");
2) the message above appears under the (correct) date of the day (Today etc...)
Original comment by john.tes...@gmail.com
on 27 Jul 2008 at 1:09
Hi john,
Thanks for your message.
I now fixed the $this error message. I didn't see it because I didn't use PHP5.
Now
it should be ok. (I assume you use the latest from svn)
The news module is already done, but maybe needs to be improved. You can find
it in
http://ci-cms.googlecode.com/svn/dev/modules/news/
What I would really need now is a gallery module.
Original comment by heriniai...@gmail.com
on 27 Jul 2008 at 3:03
Hi,
thanks very much Eugene.
That problem is solved, but I can't still manage to route correctly. For
instance, if
I go to:
http://localhost/galleryCMS/index.php/admin
it redirects me to
http://localhost/galleryCMS/admin/login
which it cannot find, so I can't still access admin area.
Anyway I strongly suggest you to use PHP5 (and related syntax) even on CI (as
opposed
for isntance to Kohana which is natively PHP5), it will help you reason in long
terms.
For a gallery module, maybe we could plan/code it together when I come back
from my
holidays (what it should do, how etc.)
Best,
Original comment by john.tes...@gmail.com
on 29 Jul 2008 at 4:40
Hi,
I think your problem is in apache rewritting.
I'm also now using Wampserver with mod rewritting in apache so I can use
.htaccess
so instead of http://localhost/galleryCMS/index.php/admin it should be
http://localhost/galleryCMS/admin
But if really you have to use te index.php then put in your config file the
index.php
(that is CodeIgniter)
I tried and it works great with PHP5 too
Original comment by heriniai...@gmail.com
on 30 Jul 2008 at 3:58
Thanks,
well actually I have mod_rewrite on, but when installing I had disabled
.htaccess
because when accessing:
http://localhost/galleryCMS/
it pointed to WAMP Server Configuration Page (the one with the list "your
projects"
of all the folders in your www directory, if you see what I mean). So after
renaming
.htaccess I could at least see the home page, but I don't really know a lot
about
routing (I never cared about routing actually).
As of now, with mod_rewrite and the provided .htaccess:
____________________
RewriteEngine on
RewriteCond $1 !^(index\.php|application|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
____________________
even if I try http://localhost/galleryCMS/admin it still points me to the WAMP
page.
Uhm...
Original comment by john.tes...@gmail.com
on 30 Jul 2008 at 11:22
That is a wamp configuration :-)
Maybe you didn't allow .htaccess use in the directory where you put the cms
My self I'm using http://ci-cms/ really as a virtual server
This is what I did.
1. I added this line in c:\WINDOWS\system32\drivers\etc\hosts
127.0.0.1 ci-cms
2. I activated the rewrite module in Apache2 in wamp
3. In httpd.conf
I un-commented the line
NameVirtualHost *:80
4. I added my virtualhost
<VirtualHost *:80>
DocumentRoot "E:\hery\dev\ci\ci-cms"
ServerName ci-cms
<Directory "E:\hery\dev\ci\ci-cms">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
Original comment by heriniai...@gmail.com
on 30 Jul 2008 at 11:33
Hi All,
When installing on WAMP without using a virtual host simply add the folder name
to
the rewrite rule like this:
RewriteEngine on
RewriteCond $1 !^(index\.php|application|images|robots\.txt)
RewriteRule ^(.*)$ /<yourfolder>/index.php/$1 [L]
If you replace "<yourfolder>" with the actual folder name inthe WAMP server's
doc
root (www) you can access the site without using virtual hosts
Original comment by rmorga...@gmail.com
on 25 Sep 2008 at 8:52
Just an additional note for those installing on wamp. Wamp does not accept
short
tags by default. You will need to turn on short tags or search the entire
application directory and replace every occurence of "<?=" with "<?php echo ".
Hope this helps
Original comment by rmorga...@gmail.com
on 3 Oct 2009 at 3:53
Original issue reported on code.google.com by
john.tes...@gmail.com
on 27 Jul 2008 at 1:07