When a user clicks a profile link for example www.domain.com/username
It gives this error: Something went wrong! Please try reloading the page.
The profile is already active and confirmed. So, why wouldn't the profile load?
When a user clicks a profile link for example www.domain.com/username
It gives this error: Something went wrong! Please try reloading the page.
| ||||||||
Hello jqc21!
May you please specify - do you have this trouble only with 1 profile or with every on your site? | ||||||||
I'm also a bit confused about what you're trying to do here. You access user profiles by clicking People in the main menu and selecting a profile by clicking the image or the name. If that's what you're doing, you shouldn't get that error or a database error unless the site isn't configured properly, database is damaged or you've changed some code somewhere. | ||||||||
Go into the header.inc.php file; /inc/header.inc.php. Find the following entry:
$site['fullError'] = false;
Change the false to true and save the file.
$site['fullError'] = true;
This will give you the full reason for the error; it can be trigger by a database error or a php error. Geeks, making the world a better place | ||||||||
I changed the info to true in /inc/header.inc.php When clicking the profile from the account area here is the error I get now: An uncaught exception was thrownDetails
Trace
| ||||||||
Appears the error is being triggered by a script in your custom template tmpl_facebook
https://www.deanbassett.com | ||||||||
I switched to the default evo template and it worked. The profile loaded. I guess it's something with the other template. | ||||||||
@jqc21, please, please always tell us if you're using a third party template. Most third-party templates and a vast number of modules haven't been upgraded to Dolphin 7.4.2 and that's the cause of a lot of problems including this one. Anything to do with FB is likely to cause issues. | ||||||||
ok, this template is just a facebook type of style. It's doesn't connect to facebook. | ||||||||
What I meant was that a number of templates weren't upgraded to 7.4.2. FB 'style" templates have caused issues before and you may find yours isn't 7.4.2 compatible. | ||||||||
As an update to the post, I went to the default evo template to the BxTemplProfileGenerator.php file and replaced the contents of the file into the third party template file of BxTemplProfileGenerator.php and it worked. The third party file was modified alittle different. Hopefully it won't cause any more errors later on. | ||||||||
So is it possible to see what was different? | ||||||||
This is what was in the original template before changing.
<?php
bx_import('BxBaseProfileGenerator');
/** * @see BxDolVoting */ class BxTemplProfileGenerator extends BxBaseProfileGenerator { function __construct( $sSystem, $iId, $iInit = 1 ) { parent::__construct( $sSystem, $iId, $iInit ); } }
| ||||||||
And what has been applied and broke the work? | ||||||||
It was changed to the contents of the BxTemplProfileGenerator.php file in the evo template. The profiles wasn't loading with the other one. |