CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • weird errors on event listing...
Pages: [1]

Author Topic: weird errors on event listing...  (Read 1217 times)

Inc

  • Guest
weird errors on event listing...
December 19, 2008, 10:50:40 pm
Hello, I am trying to use your event listing page on one of the sites I'm helping run and I keep getting this error. "Parse error: syntax error, unexpected '/' in /home/ipcaldwell/cvfd/includes/common.inc(1641) : eval()'d code on line 1" any idea's? I'm using the latest version of drupal and the 2.1.4 of civicrm. The code I'm using can be found here... http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=12679 let me know thanks.
Fyi, If you want to see the error in action go to calimesafd.com

sawjer

  • Guest
Re: weird errors on event listing...
December 19, 2008, 11:43:18 pm
I have had similar effects at a time. Could it be, that civiCRM has no session running and sends a weird error message disguising the real cause?

Inc

  • Guest
Re: weird errors on event listing...
December 19, 2008, 11:59:15 pm
no session running?

sawjer

  • Guest
Re: weird errors on event listing...
December 21, 2008, 11:15:02 pm
The web is stateless, which means the web server does not remember what page the particular user had previously received. For this reason, php has the possibility to establish a session for each pariticular user, where the program can find out the status of the user (e.g if he is logged in, what permissions he has and more.) This session normally is time limited.

Sessions use Cookies to identify a paricular request for a page to an existing session. Session handling needs to be started at the begin of every page handled.

In CiviCRM all this is done automatically.

If you  call up a particular page outside CiviCRM make sure the session handling is started.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • weird errors on event listing...

This forum was archived on 2017-11-26.