TinyPortal

Development => Support => Topic started by: warhonowicz on September 09, 2006, 10:44:00 PM

Title: Problem with TP settings
Post by: warhonowicz on September 09, 2006, 10:44:00 PM
I have just created a blank SMF install (1.1RC3) and then installed TP 0.95 on top. The installation went okay, but when from the Admin menu I click on TP - Settings I get the following error message:


You have an error in your SQL syntax near '(testsite_themes AS tb) ON th.ID_THEME = tb.ID_THEME
WHE' at line 4
File: /home/m/m/mmc/public_html/testsite/Sources/TPortalAdmin.php
Line: 1229
Title: Re: Problem with TP settings
Post by: G6Cad on September 09, 2006, 10:45:25 PM
How did you install TP ?  Manuall or through the package manager?
Title: Re: Problem with TP settings
Post by: warhonowicz on September 09, 2006, 10:47:04 PM
through the package manager

I have also tested this with the default or the Babylon theme, same result
Title: Re: Problem with TP settings
Post by: G6Cad on September 09, 2006, 10:52:22 PM
Can you try upload the manual install files through FTP and then run the manual_tp_install.php and see if that will fix the DB issue there
You fint the manuall install package in the download section
Extract the files, and upload and overwrite the file you have, then point your browser to manual_tp_install.php
Title: Re: Problem with TP settings
Post by: warhonowicz on September 09, 2006, 11:16:36 PM
no error message during the install, but the same when I try to get to the settings
Title: Re: Problem with TP settings
Post by: IchBin on September 09, 2006, 11:18:03 PM
Try uploading a new TPortalAdmin.php file and see if that fixes it.
Title: Re: Problem with TP settings
Post by: warhonowicz on September 09, 2006, 11:24:57 PM
Nope, doesn't make any difference
Title: Re: Problem with TP settings
Post by: warhonowicz on September 09, 2006, 11:29:17 PM
I get the same error when I try to add a new article, however adding categories works fine.
Title: Re: Problem with TP settings
Post by: eeek on September 09, 2006, 11:30:12 PM
I got the same error :) but not decided what it is yet...

Something to do with adding your installed themes in to the tp theme changer, I just commented out the complete bit till I have time to look. 

It worked fine on my test server but not on my main one. The obvious difference is test server = mysql 5.new, main server = mysql 3.ancient and I did wonder if it was something to do with the JOIN

Title: Re: Problem with TP settings
Post by: warhonowicz on September 11, 2006, 06:22:58 PM
Quote from: eeek on September 09, 2006, 11:30:12 PM
It worked fine on my test server but not on my main one. The obvious difference is test server = mysql 5.new, main server = mysql 3.ancient and I did wonder if it was something to do with the JOIN

I actually use the same server, just a different directory, but I'll try playing around with the theme changer.
Title: Re: Problem with TP settings
Post by: warhonowicz on September 11, 2006, 09:47:38 PM
I just tried to delete an article category and got the message

An Error Has Occurred!
You are not allowed in this section.


I am logged on as the only userr = admin
Title: Re: Problem with TP settings
Post by: G6Cad on September 11, 2006, 09:53:37 PM
We are aware of this, and Bloc have corrected it for the update package that will be out soon
Title: Re: Problem with TP settings
Post by: warhonowicz on September 11, 2006, 09:58:35 PM
cool, that still leaves my problem with not having access to the settings part though
Title: Re: Problem with TP settings
Post by: bloc on September 11, 2006, 10:11:08 PM
Check what MySQl version you have, as that may also be the source of your trouble.
Title: Re: Problem with TP settings
Post by: warhonowicz on September 12, 2006, 04:28:30 PM
Unfortunately I don't have the standard phpmyadmin interface and the interface I have does not tell me what version the server is running. Is there a SQL script I can run that will tell me the version?
Title: Re: Problem with TP settings
Post by: G6Cad on September 12, 2006, 04:38:49 PM
There is a file called phpinfo.php on Simplemachines.org in the downloadsection /tools
Download that and upload it to your forum root and poit your browser to that file, it will list up a page with all the info possible on your server and the configuration :)
Title: Re: Problem with TP settings
Post by: warhonowicz on September 12, 2006, 04:51:17 PM
This is the output of the file


System
FreeBSD server20.donhost.co.uk 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Dec i386

Build Date
Nov 3 2005 14:10:22

Configure Command
'./configure' '--prefix=/' '--with-mysql=/usr/local/mysql' '--enable-memory-limit=yes' '--enable-debug=no' '--with-pear' '--with-zlib' '--with-zlib-dir=../install' '--with-gettext=../install' '--with-iconv=../install' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-sysvsem' '--enable-exif' '--enable-mbstring' '--enable-zend-multibyte' '--with-pcre-regex' '--with-curl=../install' '--with-gd' '--with-jpeg-dir=../install' '--with-png-dir=../install' '--with-freetype-dir=../install' '--enable-xml' '--enable-xslt' '--with-dom=../install' '--with-dom-xslt=../install' '--with-dom-exslt=../install' '--with-xslt-sablot=../install' '--with-expat' '--with-expat-dir=../install' '--with-ssl' '--with-openssl-dir=../install' '--with-mcrypt=../install' '--with-mhash=../install'

Server API
CGI

Virtual Directory Support
disabled

Configuration File (php.ini) Path
/lib/php.ini

PHP API
20020918

PHP Extension
20020429

Zend Extension
20050606

Debug Build
no

Zend Memory Manager
enabled

Thread Safety
disabled

Registered PHP Streams
php, http, ftp, compress.zlib
Title: Re: Problem with TP settings
Post by: warhonowicz on September 14, 2006, 12:08:37 AM
noone got any idea?
Title: Re: Problem with TP settings
Post by: IchBin on September 14, 2006, 01:17:58 AM
Hmm... I swear I replied to this yesterday.
Create a php file and add this to it.


<?php
phpinfo
();
?>


This will tell you the version of PHP and MySQL when you access the page in your browser from your site. If you don't see enough information you'll need to ask your host.
Title: Re: Problem with TP settings
Post by: warhonowicz on September 14, 2006, 08:54:22 PM
I get the output I added to my post above ... guess I'll have to ask the host then
Title: Re: Problem with TP settings
Post by: eeek on September 14, 2006, 09:25:33 PM
have a look here...
http://www.tinyportal.net/smf/index.php?topic=8411.msg68942#msg68942

it may help
Title: Re: Problem with TP settings
Post by: warhonowicz on September 14, 2006, 09:37:01 PM
cheers ... that worked!