#244 Call to undefined function mrbsGetBookingInfo()

Major
closed
nobody
9
2012-09-11
2012-09-05
Anonymous
No

When i want to entering booking detail from main page, I am taking tihs error:
"Fatal error: Call to undefined function mrbsGetBookingInfo() in /opt/lampp/htdocs/eegemg/view_entry.php on line 123"

what can i do? Help me!


system info is here:
MRBS 1.4.7
DB: MySQL 5.5.25a
System: Linux webhost 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686
Server time: Wed 05 Sep 2012 12:30:56 EEST
PHP: 5.4.4

Discussion

  • Campbell Morrison

    Have you just installed MRBS or have you been running for a while with no problems? It sounds like either one of your files has got corrupted or else one is missing. I would try re-uploading the web files.

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-05

    Before my host was Windows 2008 Server, but now my host is Ubuntu. Well, i am tried to new installation, but i took same error again.

     
    Last edit: Anonymous 2012-09-05
  • Campbell Morrison

    Was MRBS working before, or have you just installed it?

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-05

    Yes it was working on Windows Xampp, but crashed my OS, I decided to work it on Linux by Lampp, i replaced all files and all db datas to new Ubuntu host, but not now it has only this error when i want to show books' details.

     
  • Campbell Morrison

    The function mrbsGetBookingInfo() is contained in the file mrbs_sql.inc. Make sure that you've got that uploaded.

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-05

    yes i have hot that adn uploaded

     
  • Campbell Morrison

    When you are looking at the view_entry.php page does the URL in the browser address bar have a query string (eg ?id=1234) or is just plain yoursite/view_entry.php?

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-06

    i am sending printscreen

     
  • Campbell Morrison

    Strange! Do other pages, eg day.php, work OK?

    Are you getting any error messages in your error log? If not, one thing you could do is turn on full error reporting by inserting the line

    error_reporting (-1);
    

    just after

    error_reporting ($error_level);
    

    in internalconfig.inc.php

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-07

    Day, week, month views, it means that: all views have same error when i want to see the details.

    I did what you said, but again and again it is doing same error.

    What else, ?

     
  • Campbell Morrison

    Are you getting any messages in your error log (usually error.log)?

    Campbell

     
  • Campbell Morrison

    Can you try replacing the line

    require_once "mrbs_sql.inc";
    

    near the top of viewentry.php with

    require_once getcwd() . "/mrbs_sql.inc";
    

    Campbell

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-09-11

    i tried but failed.
    But with original files, when i restart the lampp , mrbs working fine !

     
  • Campbell Morrison

    Good - glad it's working now!

    Campbell

    • status: open --> closed
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks