TinyPortal

Development => Support => Topic started by: artero on October 15, 2007, 10:15:22 PM

Title: DL problems after upgrade
Post by: artero on October 15, 2007, 10:15:22 PM
Our DL was working fine until we upgraded to the latest SMF.  Everything else looks to be working fine.

The majority of our files in DL are PDF.  Before the upgrade last week everything was working OK.  Now the PDF files are reported to be either a virus or have become corrupted during download.

I use cpanel and have confirmed that the files are there and are virus free and downloadable via other means than TP.  This appears to be an issue with the DL part of TP.

I dont want to have to upload all our files again as most are Mb plus in size.

website ecosaw.com
thanks
Title: Re: DL problems after upgrade
Post by: G6Cad on October 15, 2007, 10:17:21 PM
Download the manual install package and upload/replace all th files with the new ones from the package, then point your browser to the manual_tp_install.php and let it update the tables.
That should bring your portaland it's functions back
Title: Re: DL problems after upgrade
Post by: artero on October 15, 2007, 11:22:48 PM
thanks for the advise i will try it.

one problem is i cannot find the manual install package for 'DL'.  could you direct me to where it is


thanks
Title: Re: DL problems after upgrade
Post by: IchBin on October 16, 2007, 01:03:36 AM
www.tinyportal.co.uk/index.php?action=tpmod;dl
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 01:33:01 AM
IchBin

been there and looked throuh all the downloads but still cannot find the downlaod for the 'DL manager'.  The link above only takes me back to the top level not the download itself

thanks
Title: Re: DL problems after upgrade
Post by: IchBin on October 16, 2007, 01:39:44 AM
The download manager is part of the TP installation. You were asking about the manual which is a different thing that the DL manager.
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 02:55:05 AM
Ok so I just need to download the manual install version of the theme???

Title: Re: DL problems after upgrade
Post by: IchBin on October 16, 2007, 03:40:06 AM
The manual install version of TinyPortal.
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 05:30:49 AM
Can only find the TinyPortal 0.9.8.  I have not been able to find a manual download version or does this one do both???
Title: Re: DL problems after upgrade
Post by: G6Cad on October 16, 2007, 05:46:37 AM
http://www.tinyportal.net/index.php?action=tpmod;dl=item744
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 07:37:45 AM
much appreciated
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 10:47:05 AM
Completed an FTP of the manual TP install.  Processed the install as instructed and we now have NO system working at all now!!!!

the following message is displayed when you try to access SMF

Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

any way to fix this???
Title: Re: DL problems after upgrade
Post by: G6Cad on October 16, 2007, 11:13:05 AM
How exactly did you install the package i linked to ?
Also an url to your site would be good.

Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 11:48:44 AM
downloaded the manual tp install zip to PC

unzipped

Core FTP from PC to website (www.ecosaw.com/SMF/)

ran the manual_tp_install.php which reported a good install/update.

deleted the php file.

restarted the SMF by typing www.ecosaw.com.  - setup to auto direct to www.ecosaw.com/SMF/index.php

now reporting templete error.
Title: Re: DL problems after upgrade
Post by: G6Cad on October 16, 2007, 11:56:33 AM
The default SMF Core theme is correct.
Change the forum back to the default Core theme and then check the TP strings in the theme you getting this error from
http://www.ecosaw.com/SMF/index.php?action=theme1
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 12:23:17 PM
the SMF Core is the theme being used.

How do I check the TP strings I have not seen any documentation on them???

thanks
Title: Re: DL problems after upgrade
Post by: G6Cad on October 16, 2007, 01:10:51 PM
In the doc (DOC tab) we have the mod instructions posted with all the code edits.
Title: Re: DL problems after upgrade
Post by: artero on October 16, 2007, 09:58:00 PM
All code modes are already in place. 

I have checked all of them and as this was a recommended fix for an upgrade problem the SMF files are already correctly modified.

Once past the index.php the site appears to work correclty its just the initial go!!!
Title: Re: DL problems after upgrade
Post by: IchBin on October 17, 2007, 03:43:53 AM
Then you need to check the edits you have made. If you're getting a template error its because some code is not right. If you have to, replace the file in question with a new one and edit it again.
Title: Re: DL problems after upgrade
Post by: artero on October 17, 2007, 04:29:49 AM
I have checked the coding on each and every one of the files and it is identical to that in

http://www.tinyportal.net/index.php?topic=14195
Title: Re: DL problems after upgrade
Post by: artero on October 17, 2007, 04:31:12 AM
I have now restored by SMF database from a backup a few days ago and I get the fowllowing error

Table 'ecosaw_smf1.smf_tp_articles' doesn't exist
Title: Re: DL problems after upgrade
Post by: G6Cad on October 17, 2007, 06:04:23 AM
And back to square 1.

Download and follow the manual install steps
http://www.tinyportal.net/index.php?action=tpmod;dl=item744

The doc section (mod instructions) have the code edits you need to know.

Title: Re: DL problems after upgrade
Post by: artero on October 17, 2007, 08:10:28 AM
What I have now done is to go back further than square one.

As I use cpanel it is very easy and I will keep it in mind for future upgrades and any new mods I wish to introduce.

I renamed the SMF directory to OLD_SMF and installed a fresh SMF on my website giving a version 2 number to the SMF database. 

I then edited the settings.php to point back to the version 1 database and everything but TP came back as it was before the upgrade.

I then did a fresh auto install of TP and found that all but the articles and my full layout where still working.  The initial probelm of the DL manager was also fixed.

Cant get the articles back so am regenerating them from scratch.

In future I will compy the SMF directory to SMF_OLD which happens very fast before doing any mods or installs to the system we have.  This means I can just copy back and have the system restored in a few minutes if things go wrong.

I thanks you for your help.  I know I have learnt much to do with SMF and TP because of this and I hope this helps others.

artero