Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Pictures won't enlarge after upgrade (SP4.3.5 to SP 5.2.2)
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 13, 2013 - 5:37 am

I can tell you the reason you are seeing no backgorund images from the forum CSS but not, at the moment, why...

All of the urls to retrieve background images have this structure:

/ wp / wp / wp-content / sp-resources / forum-themes / stacked / styles / images / image-requested.png

(spaced these out so they can be read by the way).

Note the repeated use of /wp in the url. Now the style sheet for the 'stacked' theme just requests this using a relative path (i.e., / images / image.png) so something on your server is making a mess when formulating the actual requested url. bit I have no current ideas as to what that might be...

andy-signature.png
YELLOW
SWORDFISH
Avatar
RedZone Racing
Norway
Member
Free Members
sp_UserOfflineSmall Offline
Jan 13, 2013 - 8:27 am

ok, but there are 2 folders named images.
1# / stacked / images /
2# / stacked / styles / images /
All images from folder 1# are loaded OK, but the ones from folder 2# are not.

This does not make sense to me.
Could you explain?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 13, 2013 - 10:07 am

That's not really a mystery!

/stacked/images are images used by the front end and called in using http requests from php code. Such as icons for buttons etc.

/stacked/styles/images are all images that used by the CSS style sheet to create background images and that is where the checkbox and radio button graphics are. And - as I say - these images are used in the CSS with a relative path. So the real mystery is what is putting that extra /wp folder in the urls.

andy-signature.png
YELLOW
SWORDFISH
Avatar
RedZone Racing
Norway
Member
Free Members
sp_UserOfflineSmall Offline
Jan 13, 2013 - 12:19 pm

Can you point me in a direction to start looking?

I read the sp-config.php, and it says:

# After WP 2.6 it is possible to relocate the wp-config.php file. Simple:Press should be
# able to find it. However, if it does not, then you will need to change the SF_BASEPATH
# constant below to point to the path of:
#
# your wp-load.php file
#
# This must be a 'path' NOT 'URL' and necessary if you have moved your wp-content folder.

Looking at my paths you know I have moved the wp-content folder.
Can this be the problem? If so what would be the correct statement on line 30 in the sp-config.php file?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 13, 2013 - 1:15 pm

no that has nothing to do with wp-content.
It is the 'wp' folder that is getting duplicated. Now as far as I was aware, when processing a relative url, the browser/server will use the current path as it's base. I am really not sure of Wp has any say in that whatsoever - especially when it comes down to CSS file loading.
How about the urls set up in th WP admin > Settings > General. Are they both OK and correct?
Does anyone else have any ideas about this one?

andy-signature.png
YELLOW
SWORDFISH
Avatar
RedZone Racing
Norway
Member
Free Members
sp_UserOfflineSmall Offline
Jan 13, 2013 - 1:18 pm

Yes they are OK.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 13, 2013 - 11:36 pm

sorry, but late to game... what is status?  in post #10, you seem to indicate all is well but check boxes not appearing? is that what we are still talking about?

have you by chance disabled them in sp-config.php?

its late, please forgive me if off base... ;)

Avatar
RedZone Racing
Norway
Member
Free Members
sp_UserOfflineSmall Offline
Jan 13, 2013 - 11:58 pm

Hi, better late than never :)

Yes, in post 10 I conclude that the cfoms plugin was the reason for the pictures not working.
Now were talking about BG images in the CSS not showing up. (checkboxes, radio buttons, close button etc...) Post #11 seems to be a good explenation of the current problem.

I have not altered anything in sp-config.php
The problem is present in all SP Themes and overlays, even with all WP plugins disabled.

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2013 - 4:47 pm

Have you tried with the combined CSS option turned off? That should make it more of a relative url in the CSS.
The option is in Forum Admin > Options - Global Settings

Avatar
RedZone Racing
Norway
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2013 - 11:52 pm

And that is what's so magic about you guys :)
Working like it should.

Thank you so much, all three of you.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625