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,055
  • Total Topics: 21,337
  • Online today: 194
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 205
  • Total: 205

Treasury Beta (donations) for SMF/TP

Started by nukebiz, November 28, 2006, 06:01:39 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

than

Hi Resourcez,

Really thanks for the modification, but when i put the file, block shows db error.

Now i test to compare the files to find the error.

If you see eny error please coment it me.

ufff, my english,. sorry.

Thanks!!  ;)

than

Hi, more info from error log:

8: Undefined variable: line
Archivo: /home/d176862/public_html/windowsmobile/Sources/Subs.php
LÃÆ'Ã,­nea: 322

8: Undefined variable: file
Archivo: /home/d176862/public_html/windowsmobile/Sources/Subs.php
LÃÆ'Ã,­nea: 322

8: Undefined variable: file
Archivo: /home/d176862/public_html/windowsmobile/Sources/Subs.php
LÃÆ'Ã,­nea: 321

2: Missing argument 3 for db_query()
Archivo: /home/d176862/public_html/windowsmobile/Sources/Subs.php
LÃÆ'Ã,­nea: 237

2: Missing argument 2 for db_query()
Archivo: /home/d176862/public_html/windowsmobile/Sources/Subs.php
LÃÆ'Ã,­nea: 237

And some repetitions.

than

New info.

The error is in this line: //db_query(" SET lc_time_names = '$txt[lang_locale]' ");

If i put // the block works great, with good currency but months in english.

Thanks  ;D

nukebiz

#53
hmm, was a silly oversight, though it did actually work on my site.

db_query(" SET lc_time_names = '$txt[lang_locale]' ", __FILE__, __LINE__);

Previous attachment updated with fix.

@Assistance - manual update should only show Anonymous if you don't place "Yes" in the "Show" box - mentioned in a previous post.
http://www.tinyportal.net/smf/index.php?topic=10894.msg89833#msg89833

than

#54
The block show:
Unknown locale: 'es_ES.utf8'
Archivo: /home/dxxxxxx/public_html/windowsmobile/treasury/DonationBlock.php
LÃÆ'Ã,­nea: 42


:o What is it?

Mi language is _es-utf8.php

In error Log.:
http://www.windowsmobile.than.org.es/index.php 
Error en la Base de Datos: Unknown locale: 'es_ES.utf8'
Archivo: /home/dxxxxxx/public_html/windowsmobile/treasury/DonationBlock.php
LÃÆ'Ã,­nea: 42

nukebiz

hmm, serves me right for using a poorly constructed french utf8 language pack.

db_query(" SET lc_time_names = ".substr($txt['lang_locale'],0,5)." ", __FILE__, __LINE__);

JDMhustle

I keep getiing the same error over and over again, i checked all files and directories 777 but it keep saying:

QuoteAn Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

I never had any troubles with installing new mods as you can see in the installed list below.

Mod Name Version 
1. SMF 1.0.9 and 1.1 RC3-1 Security Patch 1.0.8/1.1 RC3                          [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF Gallery Pro SSI 1.0                                                                    [ Uninstall ] [ List Files ] [ Delete ] 
3. SMF Trader System 1.0                                                                    [ Uninstall ] [ List Files ] [ Delete ] 
4. Custom Profile Field Mod 3.15                                                             [ Uninstall ] [ List Files ] [ Delete ] 
5. TinyPortal 0.96                                                                                [ Uninstall ] [ List Files ] [ Delete ] 
6. Custom Action Mod 2.03                                                                   [ Uninstall ] [ List Files ] [ Delete ] 
7. Google Member Map 0.55                                                                   [ Uninstall ] [ List Files ] [ Delete ] 
8. Global Headers Footers 1.1                                                                 [ Uninstall ] [ List Files ] [ Delete ] 
9. SMF Gallery Pro Profile Link 1.0                                                            [ Uninstall ] [ List Files ] [ Delete ] 
10. Treasury 1.1                                                                               [ Apply Mod ] [ List Files ] [ Delete ] 
11. SMF Gallery Pro 1.1                                                                         [ Uninstall ] [ List Files ] [ Delete ] 
12. Simple ImageShack 2.0.1                                                                 [ Uninstall ] [ List Files ] [ Delete ] 
13. SMF Staff Page 1.3                                                                         [ Uninstall ] [ List Files ] [ Delete ] 

I have 1.1RC3 with TP0.96b
Any help is welcome :coolsmiley:

nukebiz

I'm not sure that is related to Treasury.

In any event your directories should not be 777 - should be 755.

JDMhustle

Quote from: Resourcez on November 30, 2006, 12:36:12 PM

In any event your directories should not be 777 - should be 755.

I know, but i changed it to 777 since it kept giving me the error

FUBAR

#59
I just had the same problem JDMhustel and I was able to fix the issue and it's running on my site now.  For some reason you will need to close your browser and open it again to clear the problem with:
Quote
An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Using your FTP in your forum root directory create a directory called "treasury" and upload the files from "Treasury_1.1beta" manually.  Also, in your Packages directory create a directory called "Temp". 

Now when you install (apply mod) it should work and you will automatically see the donation box on the top left. 

I am still trying to figure out some other problems I'm having...I'll keep you posted.

Try this at your own discresion. ;)

EDIT:
The mod seems to work perfectly with the default theme, so far I've found no issues.  Although, I use Helios as my default for the my forum and TP.  When I try and edit an articles viewing options I get an error in the error log. 

http://www.mywebsite.com/forum/index.php?action=tpadmin;sa=editarticle8;visualopts= 
8: Undefined index: theme_color
File: /forum/Themes/default/languages/Treasury.english.php (eval?)
Line: 397


This is repeated several times but the Line: XXX changes to 403, 402, 398, 397

Don't ask how I found this out.. lol 

Any suggestions? ???

This website is proudly hosted on Crocweb Cloud Website Hosting.