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.
If you have errors, there's no other way to install without manually editing the code unless you can fix your errors.
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?
Yes, just delete the FCKeditor folder
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?
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
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.
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):
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg8.imageshack.us%2Fimg8%2F9784%2Fimagetpqc2.th.jpg&hash=e3e1efff5758312fdc2a0ba709dead55a155e82e) (http://img8.imageshack.us/img8/9784/imagetpqc2.jpg)
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:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg18.imageshack.us%2Fimg18%2F3192%2Feditortt4.th.jpg&hash=e2599525356cf01b1d19e31eb501a4eebb9089f9) (http://img18.imageshack.us/img18/3192/editortt4.jpg)
Any idea to fix?
Thanks for all :)
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.
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 ;)
@IchBin:
Error 404 - Not Found (http://darkwolf.altervista.org/forum/tpmod/1235006467Theme_royal-noir-remixed.jpg)
File: user
-
Is still presents with beta4 :-\
maybe someone can help me to fix via .htaccess?
-
(not exist here)
http://darkwolf.altervista.org/forum/tpmod/1235006366Theme_firefox.jpg
(instead of this)
http://darkwolf.altervista.org/forum/tp-images/dlmanager/thumb/1235006366Theme_firefox.jpg
-
Edit:
I think problem is in this line (TPdlmanager.template.php):
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
U can test (see: Vista Shortcut Registry) directly here (not work):
http://darkwolf.altervista.org/forum/tpmod/?dl=win-utility
background: transparent url(1243036740Preview.jpg) no-repeat scroll 0% 0%; margin-right: 5px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; float: right; width: 80px; height: 80px;
and here (works fine):
http://darkwolf.altervista.org/forum/tpmod/?dl
background: transparent url(http://darkwolf.altervista.org/forum/tp-images/dlmanager/thumb/1243036740Preview.jpg) no-repeat scroll 0% 0%; margin-right: 5px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; float: right; width: 80px; height: 80px;
ATM i've patched with this code:
$count=1;
if(!empty($context['TPortal']['dl_last_added']))
{
foreach($context['TPortal']['dl_last_added'] as $last)
{
$screenlink = $last['screenshot'];
$findlink = '/tp-images/dlmanager/thumb/';
$pos = strpos($screenlink, $findlink);
if ($pos === false) {
$directoryth = ''.$boardurl.''.$findlink.'';
} else {
$directoryth = '';}
echo '
<div class="dl_last_added windowbg" style="overflow: hidden;">
' , !empty($last['screenshot']) ? '<div style="margin-right: 5px; background: url('.$directoryth.''.$last['screenshot'].') no-repeat; float: right; width: '.$context['TPortal']['dl_screenshotsize'][0].'px; height: '.$context['TPortal']['dl_screenshotsize'][1].'px;" class="windowbg3"></div>' : '' , '
<div class="body" style="padding-left: 5px; margin-right: '. ($context['TPortal']['dl_screenshotsize'][0] + 15) .'px;">
<h3><a href="'.$last['href'].'">'.$last['name'].'</a></h3>
' , !empty($last['text']) ? '<p class="middletext">'.$last['text'].'</p>' : '' , '
<p class="smalltext dl_details"><img src="'.$settings['tp_images_url'].'/glyph_author.png" alt="*" /> '.$last['author'].' <img src="'.$settings['tp_images_url'].'/glyph_down.png" alt="*" /> '.$last['downloads'].' <img src="'.$settings['tp_images_url'].'/glyph_date.png" alt="*" /> '.$last['date'].'</p>
</div>
</div>';
}
}i don't know if is best mode but it seems to work fine :)
PS: i've found another bug with bbc code.
See at bottom of this page: http://darkwolf.altervista.org/forum/tpmod/?dl=win-utility
one problem but easy fix
Fatal error: Cannot redeclare tpsummary() (previously declared in /home/content/C/a/p/CaptnSolo/html/smf/Sources/TPmodules.php:2039) in /home/content/C/a/p/CaptnSolo/html/smf/Sources/Profile.php on line 3088
i know what i need to do but i just cant find the right file and line. its a dup. file that just need to be delete. any help to tell me the line and file would be appreciated
If you look in sources/profile.php you will see near the bottom that TP has several entries.Those entries can be deleted.
thanks