Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • i’m trying it on the server. Unable to open it on the local machine.
    its happening when i click the activate button on the plugin.

    i played around with it a little bit and it looks like the issue is with the calling to the timetableprinter file

    Error-
    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_FOR in /home/content/z/a/i/zainabia/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3

    Code-
    <?php
    require_once(‘db.php’);
    require_once(home/content/z/a/i/zainabia/html/wp-content/plugins/daily-prayer-time-for-mosques/Views/DailyTimetablePrinter.php);

    I’m getting a similar error after updating from 1.9 i believe

    Warning: require_once(__DIR__/../Views/DailyTimetablePrinter.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/z/a/i/z******/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/../Views/DailyTimetablePrinter.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/z/a/i/z*******/html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyTimeTable.php on line 3

    Thread Starter safderh

    (@safderh)

    Thank you for the response. I have made the above correction but still haven’t been able to get it to work.

    These are the steps i’m doing–
    1. Downloading the plugin
    2. Adding the shortcut [xcalendar] to my calendar page in our site
    3. Changing line 153 in the xllentech-calendar.php file as mentioned

    I’m getting the below error. Your help is very much appreciated.
    https://zainabiasa.org/calendar/

Viewing 3 replies - 1 through 3 (of 3 total)