yoursitename.com/membersname Not Showing Profile

At some point this was working... but then after installing several mods (which I did get to work), and then checking on a profile status (if it in fact auto changed from standard to paid level)...  I noticed that I was getting blank profile pages.

I looked at the links in the Member menu ( Join, Profile, Account, Logout)... And noticed that while "account link" would take me to a page to edit the profile info... the pedit.php?ID=3 page...

But the profile link just would take me to a blank page.  (??? Why)Sometimes instead of knowing why... its better to just fix it! lol

If anyone could take the time to direct me on this, it would be much appreciated.  As it stands now... None of my three test users can see the profile page. The url shows up (yoursitename.com/membersname) but the page is empty!  And I mean empty as in if I right click to "inspect element," I literally get:

<html>

<body>

</body

</html>

 Minimal html and absolutely No php scripting.

 

Help! :-)

Thanks in Advance!

Quote · 27 Feb 2013

Blank pages usually mean a php error is occurring. You need to turn on error reporting for php. Add display_errors = on in your php.ini file.

https://www.deanbassett.com
Quote · 27 Feb 2013

Deano... First of all... Thanks in advance for being patient with me / a PHP newbie!

Here is whats in my error log. It would seem that there are two items to note, but honestly I'm not exactly sure what they are trying to telling me. The first reads:

[25-Feb-2013 01:49:02 UTC] PHP Warning:  require_once(/public_html/mywebsite.com/inc/classes/BxDolModule.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /public_html/mywebsite.com/inc/utils.inc.php on line 1025

This references my BxDolmodule.php file which does exists in the said directory path, but the file is only 142  lines. I get it, that its trying to "open stream." It sounds like its looking for my utils.inc.php file...  which also exists in its said dir path... And btw... on its line 1025  it reads:

require_once(BX_DIRECTORY_PATH_CLASSES . $sClassName . '.php');

While looking at the first item... I'm not certain what actions to take... But looking at the second "error item" which is basically the same as the first:

[25-Feb-2013 01:49:02 UTC] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/public_htmll/mywebsite.com/inc/classes/BxDolModule.php' (include_path='.:/usr/local/altphp/lib/php') in /public_html/mywebsite.com/inc/utils.inc.php on line 1025

only it clearly states that I have a "Fatal Error." But I think this is trying to tell me that I need to add the line: include_path='.:/usr/local/altphp/lib/php' by running an SQL query on the website's database? Really... even with the ".:" ?  

Or am I just way out in left field? Some of you reading this may even say " you're not at all even in the ball park!" lol 

Well at least I'm trying...  :-) Whats a newbie to do? lol

Thanks again for your patience!

Quote · 28 Feb 2013

It's telling you the include path set in your php.INI simply because it could be useful. It's a bit of a red herring.

 

The error is telling you the problem is caused by line 1025 of utils.inc.php, not that it can't find it.

It's BxDolModule.php that it is failing to include. If the file definitely exists check ownership and permissions.

 

Note, I suspect it was a copy/paste mistake but note the htmll (double L) in your second error. If that is actually what you get in the error, that's the problem.

Quote · 28 Feb 2013

 

The error is telling you the problem is caused by line 1025 of utils.inc.php, not that it can't find it.
It's BxDolModule.php that it is failing to include. If the file definitely exists check ownership and permissions.
 
Note, I suspect it was a copy/paste mistake but note the htmll (double L) in your second error. If that is actually what you get in the error, that's the problem.

 To 

Yes... in my sample script... there was a copy and paste error on my part... not in the actual script. :~)

Previously, I had added a sample of the code on line 1025, to show what was there... here it is again:

require_once(BX_DIRECTORY_PATH_CLASSES . $sClassName . '.php');

Both of the files mentioned in the error report are under the /INC dir... As you know this folder is one that the dolphin 7.1 installer checks... makes you change permissions... and then at the end of the install, makes you change it back... (when I installed 7.08 it didn't do that)

Following your line of thought I checked my permissions for /inc folder.

It was at 0555 (Owner: Read,  Exec,). On a whim... I just now I changed it to 0755 (Owner: Read, Write, Exec,) to see if that would make any difference. Sadly... it didn't.

Plus... as I had stated before... it was working fine (as in I was able to see a profile and could add, edit or change a profile pic... so I don't know how it could have "changed" to cause an error.

Oh and for the record:

The /inc directory is at: 0555

The utils.inc.php file is at: 0644 (as are all of the other files in that dir) and 

The /class subfolder is at: 0755 and

The file BxDolModule.php  inside of it is at: 0644

I hope that someone out there can find a solution.

Personally... I'm ok with struggling to solve issues... sometimes I think that is how I learn best...

But so far... its been one thing... after another... after another... which is getting a little old after having spent good money on software...  I'm just saying :~)

Not that I could do any better... but I guess I really do need to hurry up and learn PHP fully.  That way I can help others with there issues and write / RE-write... scripts with my own work-a-rounds. lol 

Thanks again for your efforts...  Any other ideas out there?

Quote · 1 Mar 2013

O'well... Thanks Anyway Everyone... I Scrapped it all and Reinstalled... Its working fine now! lol lol lol

Quote · 2 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.