Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Default theme lost style
Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 27, 2012 - 2:01 am

I'll ask to HostGator and I'll let you know. Thanks.

Update:

I will migrate a copy of the full website to my dev server so I can do some testing de activating all plugins to find out if I can get back the default theme and all CSS and Javascript properly loaded.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 27, 2012 - 4:50 am

That would definitely isolate it to a server issue or not which is still my favourite...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2012 - 5:11 am

Hello both,

Sorry for the late reply.

I can confirm that it is NOT a server issue since I have re-installed SP in another domain in the same shared server and the default theme is working fine.

See it here: http://wp-web.co.uk/wpbeta/forum/

I am having a big stress from this issue, I can restore my site at as it was before the incident but I will loose all new forum topics and unfortunately SP don't provide an export facility of everything.

Is there anyone there that can investigate the issue of CSS and Javascript not called?

For your information I have also migrated my site on my dev server de-activated all plugins except Simple Press but the issue was still present...

Thanks

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 29, 2012 - 6:08 am

Don't perform a restore - that would be a but hasty I think at this juncture.

So let me gather my thoughts (and I have been doing some research into this) and see if I have this straight.

It works on another site on the same server. Did this site have the SAME combination of Wp theme and other plugins as well?

It doesn't work on your local dev server with no other plugins active? Would this be with the same WP theme?

Do you know how to use Firebug? If so - could you get Firebug onto your local machines Firefox, open the console and enable all the relevant error types (CSS, HTTP, Network etc) and then load the forum page using the 'missing' theme. This really ought to give us the response error code which should be useful information.

The other thing I would like you to do is to copy and paste the content of your .htaccess file in a reply here so we can look at that if that is possible...

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2012 - 8:32 am

Hello, my answers below:

It works on another site on the same server. Did this site have the SAME combination of Wp theme and other plugins as well?

Yes it was with same combination of WP theme and plugins and it was not working as expected, I have also tried to de-activate all plugins except SP in the hope to resolve the issue but nothing still style broken.

It doesn't work on your local dev server with no other plugins active? Would this be with the same WP theme?

Yes the same theme but I tried also with WP 2012 theme with no success, also tried different SP theme and overlays still no results, only the CSS theme works.

I will try to use Firebug with Firefox (its a browser I am not using for ages since I do everything with Chrome). The .httacces is the default WordPress one.

Code from dev server: 

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ciaoweb-2012/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ciaoweb-2012/index.php [L]
</IfModule>

# END WordPress

Thanks 

Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2012 - 9:06 am

UPDATE at 3:02PM

This is the dev server link: http://wp-web.co.uk/ciaoweb-2012/forum/

You can login and to what you want even break it since is just a copy in my dev server. If we find the solution at the issue will apply it to the live site.

Thanks again

Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2012 - 9:41 am

Further Update 3:40PM

Using the Chrome Inspector Console I have this error message:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

http://wp-web.co.uk/ciaoweb-20.....ntery-blue

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 29, 2012 - 11:31 am

OK - on to something here I think.
Can you open the default.php file in the SP theme folder. At the top there are two lines of code that start with the word 'header'. Can you copy and paste them here for me please?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Roberto Ciccolella
Swansea, U.K.
Member
Free Members
sp_UserOfflineSmall Offline
Nov 29, 2012 - 11:53 am

Here they are:

header("Content-Type: text/css; charset: utf-8");
header("Expires: ".gmdate('D, d M Y H:i:s', (time()+900)) . " GMT");

Thanks

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 29, 2012 - 12:07 pm

Which looks correct.

However - according to httpFox - the server is actually looking for a Type of 'text/problem-with-post-edit-buttontml' NOT a Type of 'text/css'. And it seems to me that having not found a file of type html the server is responding with a 500 error.

Now I am no expert in this arena but I have checked with several sites and Simple:Press and in al cases text/css is what the server is asked for and what it responds with except - for yours. And this is on your dev server.

Someone out there knows the reason and the answer for this but I am afraid it isn't me! Although I will do some Googling after my dinner....

andy-signature.png
YELLOW
SWORDFISH
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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626