Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Events calendar


CDC

Recommended Posts

Events calendar: http://www.oscommerce.com/community/contributions,1061

 

http://www.internetsider.dk/shop1/kalender.php

 

The problem:

http://www.internetsider.dk/shop1/events_c...view=all_events

 

Fatal error: Cannot pass parameter 3 by reference in /var/www/html/shop1/events_calendar.php on line 255

 

This is events_calendar.php markt RED on line 255

<?php

}

}elseif($HTTP_GET_VARS['view'] == 'all_events'){

 

$events_query_raw = "select *, DAYOFMONTH(start_date) AS event from ". TABLE_EVENTS_CALENDAR ." where start_date > '". date('Y-m-d H:i:s') ."' and language_id = '". $languages_id ."' order by start_date";

$events_split = new splitPageResults($events_query_raw, MAX_DISPLAY_NUMBER_EVENTS, 'DAYOFMONTH(start_date)');$events_query = tep_db_query($events_query_raw);

 

if (($events_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {

?>

</td>

</tr>

<tr>

<td>

Can anybody help me, please..

CDC

Link to comment
Share on other sites

I am also having this problem when I click on the View All Events link or the "GO" button for the month view.

 

The rest of the Event Calendar seems to work fine. Hopefully someone can clear up this glitch.

 

:blink:

"Every time I idiot proof something... The world comes out with a better idiot"

Link to comment
Share on other sites

Looks like I managed to fix my problem. Maybe it will help the OP...

 

I replaced the split_page_results.php originally with the one that came with the Calendar contribution. I noticed today that it was also giving me errors looking at individual products.

 

I replaced it again with a backup copy of the original split_page_results.php from Version 2.2

 

Now both my individual items and the calendar problems are solved.

 

Hope it helps OP also..

"Every time I idiot proof something... The world comes out with a better idiot"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...