Letractively / phpbb3calendar

Automatically exported from code.google.com/p/phpbb3calendar
0 stars 0 forks source link

phpbb3 problem after install. #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
phpbb 3.0.6 with chat mod installed, installed calendar and all issues in
file happend, no matter where i go.  Also can't get to admn panel.

Gary

Original issue reported on code.google.com by kryon5@gmail.com on 1 Mar 2010 at 6:12

Attachments:

GoogleCodeExporter commented 8 years ago
those lines in both index.php and functions.php are

    // application/xhtml+xml not used because of IE
    header('Content-type: text/html; charset=UTF-8');

    header('Cache-Control: private, no-cache="set-cookie"');
    header('Expires: 0');

Original comment by kryon5@gmail.com on 1 Mar 2010 at 6:16

GoogleCodeExporter commented 8 years ago
header('Pragma: no-cache');

forgot this line, when i remove them, i get no error.

Then run into like the guy above with this showing up when run the calendar, 
you can
see it but just not add anything.

', 2 => 'Feb', 3 => 'Mar', 4 => 'Apr', 5 => 'May', 6 => 'Jun', 7 => 'Jul', 8 =>
'Aug', 9 => 'Sep', 10 => 'Oct', 11 => 'Nov', 12 => 'Dec', ), 'long_month'=> 
array( 1
=> 'January', 2 => 'February', 3 => 'March', 4 => 'April', 5 => 'May', 6 => 
'June', 7
=> 'July', 8 => 'August', 9 => 'September', 10 => 'October', 11 => 'November', 
12 =>
'December', ), ), 'calendar_add_event' => 'Add Event', 'calendar_delete_event' 
=>
'Delete Event', 'calendar_delete_warn' => 'Once deleted the event cannot be
recovered', 'calendar_event_name' => 'Event Name', 'calendar_event_desc' => 
'Event
Description', 'calendar_event_desc_exp' => 'Enter your event description here, 
it may
contain no more than 255 characters', 'calendar_event_end' => 'Event End',
'calendar_event_start' => 'Event Start', 'calendar_upcoming_event' => 'Upcoming
Events', 'calendar_post_name_error' => 'You must specify an event name when 
posting a
new event.', 'calendar_edit_name_error' => 'You must specify an event name when
editing an event.', 'calendar_post_time_error' => 'You must specify a valid 
event
start time when posting a new event.', 'calendar_edit_time_error' => 'You must
specify a valid event start time when editing an event.', 
'calendar_post_date_error'
=> 'You must specify a valid event start date when posting a new event.',
'calendar_edit_date_error' => 'You must specify a valid event start date when 
editing
an event.', 'calendar_post_desc_error' => 'You must include an event 
description when
posting a new event.', 'calendar_edit_desc_error' => 'You must include an event
description when editing an event.', )); ?> 

Original comment by kryon5@gmail.com on 1 Mar 2010 at 6:23

GoogleCodeExporter commented 8 years ago
There are extra lines in /language/en/mods/calendar.php

The file should look like this:

<?php
if (empty($lang) || !is_array($lang))
{
    $lang = array();
}

$lang = array_merge($lang, array(

'calendar'=> array(
        'day'=> array(
            0 => 'Su', 
            1 => 'Mo', 
            2 => 'Tu', 
            3 => 'We', 
            4 => 'Th', 
            5 => 'Fr',
            6 => 'Sa',
            ),

        'long_day'=> array(
            0 => 'Sunday', 
            1 => 'Monday', 
            2 => 'Tuesday', 
            3 => 'Wednesday', 
            4 => 'Thursday', 
            5 => 'Friday',
            6 => 'Saturday',
            ),

        'month'=> array(
            1 => 'Jan',
            2 => 'Feb', 
            3 => 'Mar',
            4 => 'Apr',
            5 => 'May', 
            6 => 'Jun', 
            7 => 'Jul', 
            8 => 'Aug', 
            9 => 'Sep', 
            10 => 'Oct', 
            11 => 'Nov', 
            12 => 'Dec',
        ), 

        'long_month'=> array(
            1 => 'January',
            2 => 'February', 
            3 => 'March',
            4 => 'April',
            5 => 'May', 
            6 => 'June', 
            7 => 'July', 
            8 => 'August', 
            9 => 'September', 
            10 => 'October', 
            11 => 'November', 
            12 => 'December',
        ), 
    ),

'calendar_add_event'        => 'Add Event',
'calendar_delete_event'     => 'Delete Event',
'calendar_delete_warn'      => 'Once deleted the event cannot be recovered',
'calendar_event_name'       => 'Event Name',
'calendar_event_desc'       => 'Event Description',
'calendar_event_desc_exp'   => 'Enter your event description here, it may contain 
no more than 255 characters',
'calendar_event_end'        => 'Event End',
'calendar_event_start'      => 'Event Start',
'calendar_upcoming_event'   => 'Upcoming Events',

));

?>

Original comment by henrik.b...@gmail.com on 26 Jul 2010 at 2:35