TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 126
  • Total: 126

The requested URL /Themes/default/TPShout.css.css was not found on this server.

Started by windsorlive, March 29, 2009, 04:08:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

windsorlive

I noticed that there is a css call error somewhere but have found what I believe is a solution. I have searched but not found the topic so here goes.

When utilizing the view css option on my developer toolbar I noticed that there was a 404 error. I went to my other forum and noticed the same 404. 

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /Themes/default/TPShout.css.css was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4 Server at forum.windsorlive.com Port 80</address>
</body></html>


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /Themes/default/TPShout.css.css was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4 Server at fanzone.xxxwindsor.com Port 80</address>
</body></html>


I will post a screenshot of both.

My solution was to download the TPShout.css , open it with notepad , don't edit ,  save it as TPShout.css.css then upload it.

Anyone know how to fix it for real?


JPDeni

Please read the Posting Guidelines.html

There are a number of different TPShouts out there and there's no way of even beginning to give you an idea of where to look unless we know what your setup is and where this Shoutbox came from.

windsorlive

Link to my site: http://www.windsorlive.com http://forum.windsorlive.com
SMF version: 1.1.8
TP version: v1.0 beta 3
Theme name and version: default
Mods installed:
# Random_Quote v1.2
# RSS Feed Icon v1.1
# SMF Media Gallery v1.5.5 <-- uninstalled
# PaypalDonations v2.0
# Ultimate Profile v0.9
# Contributions in Boards v1.2
# Bakers Dozen Pages v1.1

Related Error messages:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /Themes/default/TPShout.css.css was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4 Server at forum.windsorlive.com Port 80</address>
</body></html>


This is the same basic setup for my other forum


JPDeni

Thank you. That helps a lot.

I looked at my test forum with that version of TP on it. I've got the TPShout box installed. The source code calls for the same file -- TPShout.css.css -- and I don't get any error at all.

However, you can try this...

Go to tp-files/tp-modules/TPShout/Sources/TPShout.php and look for


if(file_exists($settings['theme_dir'].'/TPShout.css'))
$context['html_headers'] .= '<link rel="stylesheet" type="text/css" href="'. $settings['theme_url']. '/TPShout.css.css?fin11" />';
else
$context['html_headers'] .= '<link rel="stylesheet" type="text/css" href="'. $settings['default_theme_url']. '/TPShout.css?fin11" />';


Change it to


if(file_exists($settings['theme_dir'].'/TPShout.css'))
$context['html_headers'] .= '<link rel="stylesheet" type="text/css" href="'. $settings['theme_url']. '/TPShout.css?fin11" />';
else
$context['html_headers'] .= '<link rel="stylesheet" type="text/css" href="'. $settings['default_theme_url']. '/TPShout.css?fin11" />';

This website is proudly hosted on Crocweb Cloud Website Hosting.