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,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,031
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 771
  • Total: 771

Blank pages !

Started by adnan, October 03, 2006, 02:19:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

Can you change the default language to English and see if you still have this problem? I also noticed that the copyright does not show on your blank page. So something seems to be stopping the page from fully loading.

adnan

I changed to english default language .

Please inform me , if you checked my forums in english .

Thanks in advance

Thurnok

Quote from: adnan on October 03, 2006, 08:32:28 PM
but this site generate this links (#new ) like my website but tinyportal doesn't enable  search engine freindly feature .

I did not say that #new is invalid.  The pound sign (#) denotes an HTML Anchor.  This is normal, and yes, of course it works here and you see them in links.  What I said was, it appears your pages work without an anchor in the link, so apparently the friendly URLs are not being "processed" (by your TP/SMF site) appropriately.

Whether there is a TP issue, I would have to first replicate the issue in kind.  I'll attempt to do this after work today on one of my test sites.
Thurnok
The one, the only!

adnan

Thank you Thurnok :)
Can I change my default language to persian in my forum ?

IchBin

I noticed the issues were still there. You can change it back yes.

adnan

Hello Thurnok ,

Did your work on this issue ?

What's problem ?
Should I disable search engine friendly and re-install TP ?


Thurnok

#26
Ok... I tried this a number of times, and mine seem to be working fine with friendly URLs set.  All tests were done on SMF 1.1RC3 w/TP 0.9.5.

Here's 2 screenshots (1 each of Mozilla and IE).  Notice the URL in the URL bar of Mozilla and IE.  Notice the item is displayed properly.  I can only surmise something weird happened during your install.  It does seem to work as advertised.  Whether the issue could have anything to do with your actual server or not, you might need to ask your Host provider.  I have 3 different servers, tried it on each one and appears to work on all of mine, but different hosts provide different settings and you just never know.

This feature does only work on Apache servers however, so are you 100% positive that your server is running Apache?

---[edit]---
oops.. let me add... if you set SMF up with search friendly URLs prior to installing TP and then installed TP, you may need to uninstall TP, reset to non-search friendly URLs, and reinstall TP.  But once you have done that, you should be able to re-enable search friendly URLs, and TP should work with them.  This is assuming there isn't a Host provider issue, and that you are using an Apache webserver.
Thurnok
The one, the only!

adnan

Dear Thurnok
Thanks for your help .

I'm Domain and hosting provider and I know about my servers .
Yes , Our servers are linux and run apache .
I changed server of yarantoos.com and the problem doesn't solve .

Yes  , it was enable search engine friendly on my SMF and then I installed TP .
Ok , I unistall TP and disable search engine friendly and re-install TP again .

Will it delete all TP folders by uninstall TP ? like tp-downloads ? and should I get beckup ?
We uploaded many files in download center module via tinyportal . upload files detail will delete ?


Thurnok

#28
It doesn't remove them on my test sites when I uninstall, however, you should backup your datafiles (tp-downloads) just to be safe.  It does remove the database information, but you can get that back in by backing up the smf_tp_dlmanager table in the database to restore only that part later.  In general, I backup my whole site when making changes.  If you do this, just remember that you only want to copy the tp-downloads back if necessary, and not the whole site as part of the problem may be in one of the php files you backup.  I'd also backup your database just as a precaution as well.  This will let you get back to where you were in the event of something unforseen.  Obviously you do not want to overwrite your database with the backup unless it breaks something else.

So backup all, uninstall TP, reset to non-friendly URLs, reinstall TP, copy your tp-downloads files back in (if necessary), test to make sure your site is working normally, ... then, re-enable search friendly URLs.

One last note, if you have a number of other MODs installed, you may want to uninstall those as well during the phase where you are uninstalling TP.  Various mods can interact with each other since as good as the SMF Package Scheduler is, its not a perfect system.  If you simply had a fresh install of SMF 1.1RC3 and TP basically, then you should be ok and not have to worry about that part.
Thurnok
The one, the only!

adnan

I re-install TP but the problem doesn't solve even with disabe search engine friendly !

but I found the problem !
I write a php script and run in into php block and it made this problem .
I disable this block and I see problem solved !  ::)

This script save top refers into file . please see this code and do you know why this php code made this problem and can I fix this code ?


$key=";";
$fp=fopen("url.txt",'r');
$read=fgets($fp,10240);
fclose($fp);
if ($_SERVER["HTTP_REFERER"])
if (!strstr($_SERVER["HTTP_REFERER"],"yarantoos") )
   if ( ! strstr($_SERVER["HTTP_REFERER"],"host-tracker"))
{
   $read=$_SERVER["HTTP_REFERER"].$key.$read;
  $fp=fopen("url.txt",'w'); 
   $url=strtok($read,$key);
   print "<ol>";
   for($i=0;$i<12;$i++)
  {
   print '<li><a href="'.$url.'">'.substr($url,7,20)."</a></li>";
   fputs($fp,$url);
   fputs($fp,$key);
   $url=strtok($key);
  }
fclose($fp);
print "</ol>";
exit;
}
$url=strtok($read,$key);
print "<ol>";
for($i=0;$i<12;$i++)
  {
   print '<li><a href="'.$url.'">'.substr($url,7,20)."</a></li>";
   $url=strtok($key);
  }
print "</ol>";

This website is proudly hosted on Crocweb Cloud Website Hosting.