11
wtravel
Re: HELP me Please

Hi,

I was not completely clear. What I meant was in line 112 of the file that you uploaded, not when you open it in your browser.

Can you check that file in your php editor or wordpad and in your reply state the contents of line 112?

Regards,

Martijn

12
waleed
Re: HELP me Please
  • 2004/4/1 8:22

  • waleed

  • Just popping in

  • Posts: 57

  • Since: 2004/4/1 5


Quote:
Can you state line 112 in your reply?


Do you mean in the original file on my local disk?

I don't know how to do that. What are you looking for. What does the line start with, I can look for it using "find".




13
wtravel
Re: HELP me Please

Yes, I mean the original file on your local disk. Perhaps you can send it to me. Since I use an editor with line numbers on the left it will be easy for me to find it.

Perhaps you can send the file to me by e-mail:
info at worldtravelpublishers.com

I am looking for a piece of code that most likely causes the error.

Regards,

Martijn

14
waleed
Re: HELP me Please
  • 2004/4/1 8:33

  • waleed

  • Just popping in

  • Posts: 57

  • Since: 2004/4/1 5


Thanks
The URL (worldtravelpublishers.com)you sent is dead!


Could it be that there is something wrong with my explorer?

I'll send it to you as PM.

or if you son't mind send me your email.

Thanks again

15
wtravel
Re: HELP me Please

Hi,

http://www.worldtravelpublishers.com/ is online and my e-mail address is info@worldtravelpublishers.com.

Thanks,

Martijn

16
wtravel
Re: HELP me Please

Near line 60 you will find:

if ($xoopsOption['show_cblock']) make_cblock();
} else {

This seems to be incorrect and should be:

if ($xoopsOption['show_cblock']) {
make_cblock();
} else {

I will try to look for more quickly but since I am not at home I can not spend too much time on it today unfortunately.

You can try to correct the above (first save your original file under another name for backup) and upload it to your XOOPS folder. See if that was the only thing.

Is this the original header.php file you downloaded from this site?

Regards,

Martijn

17
wtravel
Re: HELP me Please

Hi,

Okay, I checked more carefully now and realize that the code as it was is fine.

I think another file may not have been uploaded or at least not correctly. I will look into it more carefully.

Martijn




18
wtravel
Re: HELP me Please

What do you see when you log in? Can you get to the administration pages?

Martijn

19
wtravel
Re: HELP me Please

This line is giving you problems:

$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name'));

Fatal error: Call to a member function on a non-object in /home/sites/www.4elol.net/public_html/xoops/header.php on line 112

So $xoopsModule is the non-object in this case.

Perhaps anyone can fill in here. Is include/common.php missing or perhaps the settings for the XOOPS_ROOT_PATH variable in the setup was not correct? I am lost here.

Regards,

Martijn

20
waleed
Re: HELP me Please
  • 2004/4/1 21:56

  • waleed

  • Just popping in

  • Posts: 57

  • Since: 2004/4/1 5


Quote:
What do you see when you log in? Can you get to the administration pages?


No I can't. I get a page that says you don't have the right to access.... However, when I loged in the firs time the message was, you have the right to access this page then it takes me to an empty page!

Login

Who's Online

202 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits