no / in profile image?

16 years 3 months ago #55126 by joep
Replied by joep on topic Re:no / in profile image?
twhiting9275 wrote:

joep wrote:

correct in cb.core.php line 97

[code:1]else {
$uimage = "/images/comprofiler/".$uimage;[/code:1]

Needs to be a lot more than just that, see the corrected code in this topic .
While yours will (kind of work), the bettter way to do this is to fix it completely, which takes a good bit more work than just a one line fix.


Lol, just find out the solutions and reply it. I did not search the forum before :laugh: The other solution is a better fix

Please Log in to join the conversation.

16 years 2 months ago #57207 by benblee
Replied by benblee on topic Re:no / in profile image?
For those of you who have gone cross-eyed and didn't see the correction, it's just the first / that was needed.

Before the image comes up as:

[code:1]www.yoursite.comimages/comprofiler/[/code:1]

Check the code stated in the lines before:

[code:1]root/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php[/code:1]

line 97:

else {
$uimage = "/images/comprofiler/".$uimage;


This makes the url path:

[code:1]www.yoursite.com/images/comprofiler/[/code:1]

Post edited by: benblee, at: 2008/02/21 04:31

Blue Skies!
benblee

Please Log in to join the conversation.

15 years 7 months ago #75706 by rembrandt
Replied by rembrandt on topic Re:no / in profile image?
I'm not finding else {
$uimage = "/images/comprofiler/".$uimage;

on line 97 of cb.core.php

Please Log in to join the conversation.

15 years 7 months ago #75757 by rembrandt
Replied by rembrandt on topic Re:no / in profile image?
The new jos_comprofiler table in the database only has the User ID for all users in the new install. Maybe the migration script ignored all the other data?

Any MySql experts out there?

BR

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.372 seconds

Facebook Twitter LinkedIn