1
brengalba
Blank page on user.php
  • 2006/4/13 12:12

  • brengalba

  • Just popping in

  • Posts: 4

  • Since: 2005/9/8 3


I've tried looking high and low for information on the cause of this. I can view the edituser.php, no problems with that, users can log in, register etc.

But when you click on the My Account link to view user page, the link indicates user.php, and connects to userinfo.php?uid=xx and it comes up blank.

I've run in debug mode and received the following error:
Fatal error: Cannot access empty property in /home/XXXXXX/public_html/modules/piCal/class/piCal_xoops.php on line 185

I've tried to see if I can figure out what's causing this problem, I'm assuming it's some conflict within the piCal module. I can't seem to figure it out, so can someone help! I'm PHP semi-illiterate!

2
rabideau
Re: Blank page on user.php
  • 2006/4/13 14:32

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
brengalba
Re: Blank page on user.php
  • 2006/4/24 2:28

  • brengalba

  • Just popping in

  • Posts: 4

  • Since: 2005/9/8 3


I appreciate the response, but I've tried all of the suggestions I found on the XOOPS website. There are no blank spaces or carriage returns, permissions are set correctly, I've reuploaded the mainfile.php to be certain and even reuploaded the piCal module since that's where the error was supposedly occurring. Same problem...hope someone can find a fix for this.

I'm suddenly having other errors pop up as well. I have xDirectory and newBB installed on this server. xDirectory does not allow me to approve submitted listings...when a user submits something, I get only the name (no address or other info) and anything below the description line is seen as html in the description area. This seems to be an issue with the admin file in xDirectory but I cannot figure it out. newBB is not allowing me to delete forums I've created, and when creating one, it gives me an error but creates the forum anyway.

Frankly, I'm becoming frustrated. I shifted to XOOPS from phpnuke due to instability issues and problems exactly like I'm experiencing, now I'm becoming worried I might have to just build this thing myself from scratch!

4
msdana
Re: Blank page on user.php
  • 2006/4/24 2:45

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Before you give up, relax and take a deep breath.

Now, in order for anyone here to help you, we need a bit more information from you.

First, can you please provide at least the basic information such as the XOOPS version, PHP version, MySQL version, and server information. Also a list of modules (and versions) installed would be nice, but not necessarily needed at this time.

Once you list this information, I'm sure someone here will be glad to help.

Dana
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

5
JMorris
Re: Blank page on user.php
  • 2006/4/24 3:40

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Let's look at this systematically for a second.

If you're having the same problems with XOOPS that you had with PHP-Nuke, there has to be a common denominator somewhere.

What software are you using to upload your files?
Are you using binary mode, ascii mode, or automatic?
Do you have shell access to your hosting account?
If so, have you tried doing a wget to install the files rather than uploading via FTP?
Have you tried comparing the file on the server with a local copy, specifically looking at the line referenced by the error?
Does the code look the same? Is there a difference in cAsE?

If you eliminate the obvious, whatever you are left with, no matter how improbable, must be the source.

Hope that helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

6
katowulf2
Re: Blank page on user.php
  • 2006/8/1 19:16

  • katowulf2

  • Just popping in

  • Posts: 14

  • Since: 2005/1/14


I posted a detailed description of this problem on the author's website.

The problem occurs when viewing userinfo.php while the page attempts to render all of the posts by this user. Specifically, when it tries to display any calendar events that this user has entered in the piCal module.

The problem can be worked around by changing the call to mysql_fetch_object($rs) to mysql_fetch_array($rs).

Then, all calls in the while() { ... } loop must be changed from object to array references:
$event->start_date becomes $event['start_date']
$event->allday becomes $events['allday']
etc..

See the link above for more info. Hopefully the author will reply with a more elegant solution.

7
katowulf2
Re: Blank page on user.php
  • 2006/8/1 19:28

  • katowulf2

  • Just popping in

  • Posts: 14

  • Since: 2005/1/14


I found a fix for this problem.

Login

Who's Online

380 user(s) are online (336 user(s) are browsing Support Forums)


Members: 0


Guests: 380


more...

Donat-O-Meter

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

Latest GitHub Commits