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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,033
  • Total Topics: 21,335
  • Online today: 321
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

So I upgraded to RC1.1 and some block content broke...

Started by MoreBloodWine, May 15, 2011, 06:14:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

Yes my test script is an exact copy of your script with the exception that I altered the paths to things. As you can see the script is working. Are you saying yours does not work even when hitting the script directly in the browser?

MoreBloodWine

Quote from: IchBinâ,,¢ on May 17, 2011, 08:42:07 PM
Yes my test script is an exact copy of your script with the exception that I altered the paths to things. As you can see the script is working. Are you saying yours does not work even when hitting the script directly in the browser?
Your version works on my end, I just find it odd that on two sites of mine, one of which is a almost new install with nothing but TP that the script doesnt work.

Still tryin to work on my test site though because this is just weird... provided you saw the video.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

MoreBloodWine

Ok, absolutely 100% as of 20mints or whatever ago brand spanking new SMF 2.0 RC5 test site with TP RC1.1 no edits excpt for a top left HTML block which contains the following.

http://www.eojmarket.com/testforum/

<center>
<img style="margin: 0; padding: 5px 0px 0px 0px;" src="http://www.eojmarket.com/testforum/psn-status.php">
</center>


And the file contains the following...

<?php  
global
$sourcedir;

if (file_exists('/removed/public_html/SSI.php') && !defined('SMF'))
require_once('/removed/public_html/SSI.php');
   elseif (!
defined('SMF'))
    die('This script wasn\'t able to connect to SMF...');
   
if (($temp = cache_get_data('psn_status', 300)) == null)
{
require_once($sourcedir . '/Subs-Package.php');
$request = @fetch_web_data('http://en.playstation.com/psn/');

if ($request !== false && preg_match('~<img src="/static/furn/icons/psn_status/psnstatus_red.gif"/>~smi', $request, $matches))
$temp = 'http://www.eojmarket.com/xbox_and_psn_network_status/psn-down.png';
else if ($request !== false && preg_match('~<img src="/static/furn/icons/psn_status/psnstatus_green.gif"/>~smi', $request, $matches))
$temp = 'http://www.eojmarket.com/xbox_and_psn_network_status/psn-up.png';
else
die('Unable to connect to the PlayStation Network...');

cache_put_data('psn_status', $temp, 300);
}

$imgPng = imageCreateFromPng($temp);
imageAlphaBlending($imgPng, true);
imageSaveAlpha($imgPng, true);
header("Content-type: image/png");
imagePng($imgPng);
?>


If you want, I can give you access to this test sites admin account and even FTP to the test sites folder and for arguments sake, if I disable TP (as seen in the vid) on this brand spanking new test ste the PSN stuff works just fine.
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

What about logs? Error logs that I've asked you to check a couple times now. I don't have the time to do the personal support on your site right now. Sorry.

Maybe your host changed something too. Check to make sure they didn't upgrade/change their PHP install.

MoreBloodWine

Quote from: IchBinâ,,¢ on May 17, 2011, 09:18:03 PM
What about logs? Error logs that I've asked you to check a couple times now. I don't have the time to do the personal support on your site right now. Sorry.

Maybe your host changed something too. Check to make sure they didn't upgrade/change their PHP install.
If there were logs to post I would have... all I keep getting is the download stuff. As for my host changing something, not a far as I know. Also, it would be kind of funny for them to change something just as I started playing with TP. On that note, what could my host possible have changed that would allow the PSN stuff to work when TP's not installed but break along with my custom stat sig etc when TP is installed ?
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

IchBin

Well if there's nothing in the error log I'm afraid there's nothing I can troubleshoot. Are you looking in your error_log on the server? (Not the SMF error log in the admin panel). Host can often change things without users knowing. A simple config change to tighten security can cause all sorts of problems. It doesn't hurt to ask does it? I don't know what could cause it, that's whey we ask these questions. To see if there's something we need to look into. If you don't want to ask your host these questions, well then we are even more stuck I guess.

MoreBloodWine

Nothing in the log that pertains to anything forum related...

As for what to ask my host, I wouldnt even know where to begin / what to ask. On top of that, grant it I dont understand alot of things I don't see what they could have possibly done to break all my custom stuff when TP's installed but allow it to work when it's not while also reminding you that even with TP installed it works if I remove the SSI hook.

In any case: http://www.eojmarket.com/php_info.php
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

ZarPrime

Well, I don't know what you've got going on with your site but I just looked at your site and it appears that the only thing that isn't working is the XBox Live Status (attached image).

I really don't follow everything that you are trying to do but, if you hit those links directly, it shows the PSN Server Status being down with one and up with with the XBox link ...

http://www.eojmarket.com/xbox_and_psn_network_status/psn-status.php -->
http://www.eojmarket.com/xbox_and_psn_network_status/xbox-live-status.php -->

What's going on with that anyway?

ZarPrime

IchBin

Yeah, so now I see that both the psn status and your signature issue are both working...

MoreBloodWine

Wrong image for the xbox one... as for why there working... I had to make a totally seperate SMF install... link it to the same DB and leave TP out of the equation on it just to be able to use all of my custom code.
Quote from: ZarPrime on May 18, 2011, 12:22:13 PM
Well, I don't know what you've got going on with your site but I just looked at your site and it appears that the only thing that isn't working is the XBox Live Status (attached image).

I really don't follow everything that you are trying to do but, if you hit those links directly, it shows the PSN Server Status being down with one and up with with the XBox link ...

http://www.eojmarket.com/xbox_and_psn_network_status/psn-status.php -->
http://www.eojmarket.com/xbox_and_psn_network_status/xbox-live-status.php -->

What's going on with that anyway?

ZarPrime
Download my custom SMF 1.x / 2.x Who.template.php
Get 15% off using coupon code xjz3918744 here where all your video editing needs can be met !
Design your own sig @ myu2sig.com - Gen Status: - Total unique user count:

This website is proudly hosted on Crocweb Cloud Website Hosting.