Support Forums

Blank Page with userindex.php

This is a discussion on Blank Page with userindex.php within the Technical Support forums, part of the Technical Support Forums category; We're having this problem when upgrading from v4.0.8 to either 4.1.0 or 4.1.1, and on a fresh install of 4.1.1: ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 03-22-2009, 09:26 PM   #1
Junior Member
 
Join Date: Mar 2009
Posts: 4
Rep Power: 0
Rich is on a distinguished road
Question Blank Page with userindex.php

We're having this problem when upgrading from v4.0.8 to either 4.1.0 or 4.1.1, and on a fresh install of 4.1.1:

After a user logs in and is forwarded to userindex.php the page is blank.

The httpd error log has the following error:

[Sun Mar 22 21:24:06 2009] [error] [client 69.37.99.25] PHP Fatal error: Call to a member function getUserNotes() on a non-object in /var/www/html/classifieds_test/userindex.php on line 69, referer: http://www.onenotewonder.com/classif.../userindex.php

Line 69 in userindex.php is:

$class_tpl->assign('usernotes', $Users->getUserNotes($userid));

If I comment out this line the page loads fine. Does anyone know what could be the problem and how to resolve it?

Thank You,
Rich
Rich is offline  
Old 03-23-2009, 12:13 AM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,337
Rep Power: 70
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

The getusernotes is a function in the users.php file (includes/classes/kernel/users.php). Check to see if that file is corrupted.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline  
Old 03-23-2009, 09:10 AM   #3
Junior Member
 
Join Date: Mar 2009
Posts: 4
Rep Power: 0
Rich is on a distinguished road
Default

The users.php file appears fine. I opened it in Notepad++, saved it, re-uploaded it, and the problem still occurs.

Would you have anything else to try?

Thank You,
Rich
Rich is offline  
Old 03-23-2009, 09:19 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Try uploading a fresh file from the v4.1.1 download.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 04-12-2009, 07:49 PM   #5
Junior Member
 
Join Date: Mar 2009
Posts: 4
Rep Power: 0
Rich is on a distinguished road
Default

This problem appears to be related to the database and not the files.

This was determined by:
- First upgrading the files & db to v4.1.2 and the problem still appeared.
- I then removed the db, ran Setup again, and chose the New Install option. With the fresh database, the userindex.php page works fine.
- If I switch to the upgraded db - the userindex.php page fails with a blank page and the following errors still appears in the httpd error log:

PHP Fatal error: Call to a member function getUserNotes() on a non-object in /var/www/html/classifieds_test/userindex.php on line 69

Does anyone have ideas on where to go from here?

Thank You,
Rich
Rich is offline  
Old 04-13-2009, 09:21 AM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You may want to submit a ticket with your ftp details and we will see if we can figure out what is going on.

Also this should not have no affect on the db because that is just a function we define in a file. I would have to say it is a file issue and not related to the db.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 04-13-2009, 09:13 PM   #7
Junior Member
 
Join Date: Mar 2009
Posts: 4
Rep Power: 0
Rich is on a distinguished road
Default

Thank you Eric - I opened a ticket.

Rich
Rich is offline  
Closed Thread

Tags
getusernotes , userindex.php

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Userindex to front page problems bowers01 Technical Support 5 09-10-2008 07:46 PM
Blank logout page in V4 luisram Technical Support 1 07-13-2008 09:34 AM
Blank User Checkout Page discguy Technical Support 4 05-04-2008 10:11 PM


All times are GMT -4. The time now is 06:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0