Moodle

Blank Page after just adding space in course/lib.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not a bug
  • Affects Version/s: 1.7.1
  • Fix Version/s: None
  • Component/s: Libraries
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE

Description

Hello friends ,

For some custamization i want to do some changes in course/lib.php page , but i have just added space and removed the space and i saved the page , after that my moodle is just showing blank page .Means its not allowing me to do any change in that , previously i have added some code in that and it was showing blank page , so i feel that i might doing somthing wrong in code , but its not like that , even just adding and removing space , it showing balnk page . so pls help me out to solve this issue , its very urgent for me , bcoz my all custamization is based on this page only.

Thanks in advance.

Activity

Hide
Dan Poltawski added a comment -

Hi, since this is after customisation, this isn't a Bug in Moodle.

In order to help you try and debug the problem, there are a few things to try:

  • Turn debugging up to developer (using Server > Debugging > Debug Messages > Developer ) to find errors
  • In particular, ensure there are no extra spaces or line before <?php or after ?> tags
Show
Dan Poltawski added a comment - Hi, since this is after customisation, this isn't a Bug in Moodle. In order to help you try and debug the problem, there are a few things to try:
  • Turn debugging up to developer (using Server > Debugging > Debug Messages > Developer ) to find errors
  • In particular, ensure there are no extra spaces or line before <?php or after ?> tags
Hide
Mauno Korpelainen added a comment -

The text editor you are using may cause this - try for example Wordpad instead of notepad...

Show
Mauno Korpelainen added a comment - The text editor you are using may cause this - try for example Wordpad instead of notepad...
Hide
Shaikh Tayyeb added a comment -

Hi Dan & Mauno

Thanks for taking this seriously & also thanks for your feedback , sorry for mentioning this issue as an bug , but its happening without doing any customization in code , as I cleared in my previous mail , I just opened a page then by keeping cursor anywhere in page I just press space bar then after that I did a 'control+z' means undo changes and then I saved the page , after that it showing blank page ,

I m using 'macromedia dreamweaver' to edit the page.

After suggesting by you I did this
Server > Debugging > Debug Messages > Developer

And its showing me following error message on page

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in D:\Moodle\test1\course\lib.php on line 1165

Show
Shaikh Tayyeb added a comment - Hi Dan & Mauno Thanks for taking this seriously & also thanks for your feedback , sorry for mentioning this issue as an bug , but its happening without doing any customization in code , as I cleared in my previous mail , I just opened a page then by keeping cursor anywhere in page I just press space bar then after that I did a 'control+z' means undo changes and then I saved the page , after that it showing blank page , I m using 'macromedia dreamweaver' to edit the page. After suggesting by you I did this Server > Debugging > Debug Messages > Developer And its showing me following error message on page Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in D:\Moodle\test1\course\lib.php on line 1165

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: