vl4dimr / ci-cms

Other
1 stars 0 forks source link

Error Message #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Version 0.1.0.3
PHP5

I'm a novice PHP guy.  I know enough to get in trouble...

I've installed the application as the instructions said to do.  
Got error expected ; in
application/modules/admin/views/navigation/admin.php line 47.  I fixed the
comment out, it has <?=//$pager ?>
I just moved the //'s to the other side of the equal sign to comment it
out.  I'm guessing this was ok to do.  

after I fixed that, I added move admin control to my login name so I could
see page member, etc..  Then the error I cannot fix.  When trying to view a
page.

Fatal error: Using $this when not in object context in
/application/modules/page/page_blocks.php on line 7

It does not show the published page.  This so far only happens on the
default content provided with the system.

Any ideas or help?

-----

Original issue reported on code.google.com by btra...@gmail.com on 1 Aug 2008 at 4:37

GoogleCodeExporter commented 8 years ago
It is already fixed in 
http://ci-cms.googlecode.com/svn/trunk/

Original comment by heriniai...@gmail.com on 1 Aug 2008 at 8:18

GoogleCodeExporter commented 8 years ago
Yes, I got the same error. You may also want to take a look at all the view 
files 
and search and replace "<?=" with "<?php echo" as many server will not accept 
the 
short echo tag. See if that helps.

Original comment by rmorga...@gmail.com on 23 Oct 2008 at 10:52