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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 278
  • Total: 278

Update from 106_beta2 to 1 beta 3

Started by Dark-Wolf, February 18, 2009, 05:20:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dark-Wolf

Hi!
I have test to uninstall 106 to update to last 1 beta 3 but i've a problem with some files (maybe this night i test to fix).
Quote1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/Load.php    Test successful
3.    Execute Modification    ./Themes/default/index.template.php    Test failed
4.    Execute Modification    ./Themes/babylon/index.template.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test failed
6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
7.    Execute Modification    ./Sources/Security.php    Test successful
8.    Execute Modification    ./Sources/Errors.php    Test successful
9.    Execute Modification    ./Themes/default/style.css    Test failed
10.    Execute Modification    ./Themes/default/Help.template.php    Test successful
11.    Execute Modification    ./Sources/Profile.php    Test failed
12.    Execute Modification    ./SSI.php    Test successful
13.    Execute Modification    ./Sources/BoardIndex.php    Test successful
14.    Execute Modification    ./Sources/QueryString.php    Test successful
15.    Execute Modification    ./Sources/Subs-Post.php    Test successful
16.    Execute Modification    ./Sources/Admin.php    Test successful
Is there any other way to update without uninstall precedent release?
(maybe a diff files to update manually...)  :-\
-
PS: i've more mod installed before and after tinyportal installation, and i've edit more tinyportal files/mods, i think that this is the problem.

IchBin

If you have errors, there's no other way to install without manually editing the code unless you can fix your errors.

Dark-Wolf

#2
Quote from: IchBin™ on February 18, 2009, 05:44:20 PM
If you have errors, there's no other way to install without manually editing the code unless you can fix your errors.
OK thanks! :)
Now i attend ita translation and test to fix this issue :)
Kind regards, DarkWolf.
-
Edit!
Ok i've removed old release and installed new 1.0 beta 3 but fckeditor directory is still present (not present in new release), can i remove manually?

G6Cad


Dark-Wolf

#4
Quote from: G6 on February 18, 2009, 09:25:47 PM
Yes, just delete the FCKeditor folder
Thank!
I've finish now to complete all upgrade but i'ìve found some problem:
1) now guest can vote in download manager: http://darkwolf.altervista.org/forum/tpmod/?dl=item90 //fixed see next post
2) image in download manager see really bad (see precedent url) //fixed, i have reupload all image
3) more error in error log related to download area:
QuoteError 404 - Not Found (http://darkwolf.altervista.org/forum/tpmod/1235006467Theme_royal-noir-remixed.jpg)
File: user
see here: http://darkwolf.altervista.org/forum/tpmod/?dl=cat68
4) more validation error for homepage (if i disabled forum post validation is ok and is present also with default theme) http://validator.w3.org/check?uri=http%3A%2F%2Fdarkwolf.altervista.org%2Fforum%2Findex.php
5) internal editor not work fine (error in firefox console: Failed to load source for sourceFile top-level http://darkwolf.altervista.org/forum/tp-files/tp-plugins/javascript/whizzywig/whizzywig.js script.tags( .... )(4 invalid)) //work with default theme
-
PS: validation is ok also if i use TPortal.template.php from 1.0.6 ;)
-
PS: i've see new feature to make a new topic for all upload, is possible to make automatically a new topic for old uploaded files?

Dark-Wolf

To fix rating by guest i have change in TPdlmanager.template.php like this:
// Start Guest can't rating download
if ($context['user']['is_logged']) {
if($dlitem['can_rate'])
{
echo '
<form class="smalltext ratingoption" name="tp_dlitem_rating" action="',$scripturl,'?action=tpmod;sa=rate_dlitem" method="post">
' , $txt['tp-ratedownload'] , '
<select size="1" name="tp_dlitem_rating">';
for($u=$context['TPortal']['maxstars'] ; $u>0 ; $u--)
{
echo '
<option value="'.$u.'">'.$u.'</option>';
}
echo '
</select>
<input type="submit" name="tp_dlitem_rating_submit" value="',$txt['tp_rate'],'" />
<input name="tp_dlitem_type" type="hidden" value="dlitem_rating" />
<input name="tp_dlitem_id" type="hidden" value="'.$dlitem['id'].'" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
';
}
else
echo '
<div class="ratingoption"><em class="smalltext">'.$txt['tp-dlhaverated'].'</em></div>';}
// End guest can't rating download

IchBin

TP is beta. Until it is final, validation will not be 100%. As for your missing image, that is not a TP error. Not possible to make a topic for old downloads unless you create the the download again.

If the editor is not working, something went wrong with your install. Working fine on all my sites.

Dark-Wolf

#7
Sorry but my english isn't very good, maybe with screenshots is best ;)
Quote from: IchBin™ on February 19, 2009, 03:12:20 PM
TP is beta. Until it is final, validation will not be 100%.
In 1.0.6 validation for home page is perfect, i think is an error in last TPortal.template.php.
In your opinion can i use TPortal.template.php from 1.0.6?
Quote from: IchBin™ on February 19, 2009, 03:12:20 PMAs for your missing image, that is not a TP error....
I've reupload all image and is present in file description, isn't present (bad url) in recent files list from subcategory (and this cause a 404 error in error log thanks to apache error handler mod):

Quote from: IchBin™ on February 19, 2009, 03:12:20 PM
If the editor is not working, something went wrong with your install. Working fine on all my sites.
Installed without error but editor with me not work:

Any idea to fix?
Thanks for all :)

IchBin

No idea how to fix. You need to go through the manual install and make sure all things have been done if your editor is not working. If that doesn't work, check your theme and any other mods you may have installed and make sure there is no conflict by removing any custom code etc.

The thumb image, yes I see that it is not displaying. I'll test that on my install and make sure.

Validation will come and go since it is beta. Validation will probably be the last thing to fix.

Dark-Wolf

#9
OK thanks :)
If i have any news i post here ;)
-
Edit: i've see that editor works fine with default theme...
now i test to fix (but i haven't idea how i can)
Any help is must appreciated.
PS: my theme is based on mysticjade, it contain only index.template.php :)
http://www.dzinerstudio.com/index.php?action=tpmod;dl=item85
-
Edit: i've test with a clean index.template.php from mysticjade and all works fine, the problem is with my index.template.php but i don't have idea because...
-
Ok!
After a full compare with winmerge i have found the problem:
Is caused by phpstats:

<div id="footer">
<script type="text/javascript" src="http://darkwolf.altervista.org/stats/php-stats.js.php"></script>
<noscript><img src="http://darkwolf.altervista.org/stats/php-stats.php" border="0" alt="View Stats" title="View Stats" /></noscript><br />

i don't know because but if i remove phpstats from footer editor works fine ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.