TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 367
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 74
  • Total: 74

Help! Just upgraded SMF and TP and now getting Error

Started by DonaldDasher, August 30, 2008, 05:29:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DonaldDasher

The SMP upgrade went well, but I just uploaded Tiny Portal and now I'm getthing the following error:

http://www.pre-cert.co.uk/forum/


QuoteWarning: main(/homepages/13/d87196669/htdocs/forum/Sources/QueryString.php) [function.main]: failed to open stream: No such file or directory in /homepages/13/d87196669/htdocs/forum/index.php on line 54

Fatal error: main() [function.require]: Failed opening required '/homepages/13/d87196669/htdocs/forum/Sources/QueryString.php' (include_path='.:/usr/lib/php') in /homepages/13/d87196669/htdocs/forum/index.php on line 54


DonaldDasher

#2
http://www.pre-cert.co.uk/forum/

SMF 1.1.5

TPv1

No Mods Installed

Babylon theme

Error message as above

ps - I had an earlier version of TP installed but when I upgraded SMF TP vanished so I uploaded a later version.

Hope somebody can help.

IchBin

If you forum is sitting in that state, you have no choice to either restore from a backup, or go through the manual install instructions to see if all the changes to the files and the other files were uploaded etc.

DonaldDasher

I am not technical enough to do this - can anybody help?

Ken.

How do I manually install TinyPortal

DonaldDasher it's not that difficult to do and it's something that anyone who is running an SMF/TP forum should know how to do, imho.
Take your time, read carefully and before you know it you'll get it done. :)
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

OK, I'll give it a try - but does anybody know what could have gone wrong?

was there a Tiny Portal upgrade I should have run rather than re-installing the latest version from scratch?

Ken.

Quote from: DonaldDasher on August 31, 2008, 06:32:14 PM
OK, I'll give it a try - but does anybody know what could have gone wrong?

was there a Tiny Portal upgrade I should have run rather than re-installing the latest version from scratch?
There's nothing wrong with the way you did it except for the fact that something didn't install correctly of course. There are a number of different reasons that could have happened but now that is has the important thing is to get your forum back up and running.

The manual install instruction will give you all the detail and direction you'll need, but you can post any questions that may come up along the way.

Here's one other very handy place to read to see if it may be of assistance to you... the article may give more detail than is needed in this case but it will likely help in your understanding of the overall process:
The safe way to Clone or Upgrade your "livesite"
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

#8
Another thing I should perhaps mention is that I had uploaded TP into the SMF folder - could this be what has caused the problem? Anyway, I've now removed all the TP files.

Should I try to backtrack and get SMF running again before attempting the TP manual install?


Ken.

Quote from: DonaldDasher on August 31, 2008, 07:51:03 PM
Another thing I should perhaps mention is that I had uploaded TP into the SMF folder - could this be what has caused the problem? Anyway, I've now removed all the TP files.

Should I try to backtrack and get SMF running again before attempting the TP manual install?
It sounds like you have a misunderstanding of how the install process for TP works.  :)

So just to be sure:
SMF must be up and running correctly first, then TinyPortal is installed into SMF by way of the SMF Package Manager.
... the only reason that you would upload the TP files any other way would be if you were doing a manual install and for that you would need to do as spelled out in the manual install doc.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

#10
OK, I've just about fixed SMF - and I'll then again attempt to re-install TP.

If I want my TP home page (index.php) in the root folder, how would I install TP to do this?

Ken.

Quote from: DonaldDasher on August 31, 2008, 09:18:16 PM
OK, I've just about fixed SMF - and I'll then again attempt to re-install TP.

If I want my TP home page (index.php) in the root folder, how would I install TP to do this?
Your TP pages are part of SMF because TP is installed into SMF and not along side of it, so for an install of SMF/TP it's all in the same folder. (it can't work any other way.)
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

So I always have to have my own site index page?

DonaldDasher

#13
OK, I'm trying to select the TP folder in the SMF - Admin - Browse Packages but I'm unable to actually select the folder itself - so do i select all the files within the folder instead?

Ken.

If you would like to give me a temp admin login I'll take a look at what you have, if so send it to me by PM.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

When going through the install process one of the first things that needs to be done is make a backup in case something goes wrong. When I try to do a backup using your SMF maintenance control panel it throws an error, "Error 500 - Internal server error"

See if you can do a backup of your db and let me know when it's finished.
... the TP package has been loaded into your SMF Package Manager but please do not try to install it until we have resolved the backup issue.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

#16
OK, I'll need to contact One and One, the hosting company.

DonaldDasher

I can access MySQL via the hosting company's control panel but I'm not sure how to back up the database.

Ken.

Quote from: DonaldDasher on August 31, 2008, 10:48:09 PM
OK, I'll need to contact One and One, the hosting company.

[rant]
There's our problem!  :tickedoff:
One of the worlds worst hosting companies!
[/rant]

OK, here's what you will end up needing to do:
Go into your 1and1 control panel and do a backup using your "phpMyAdmin" controls.
If you aren't sure about how to do that let us know before you try it.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

Quote from: DonaldDasher on August 31, 2008, 10:55:47 PM
I can access MySQL via the hosting company's control panel but I'm not sure how to back up the database.

Here's a simple instruction for the process:
http://www.webhostingtalk.com/showthread.php?t=518963
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

I have all these options - do i check them all?


Enclose export in a transaction
Disable foreign key checks
Database export options:
Add DROP DATABASE
Structure:
    Add DROP TABLE
    Add IF NOT EXISTS
    Add AUTO_INCREMENT value
    Enclose table and field names with backquotes
    Add into comments
        Creation/Update/Check dates
Data:
    Complete inserts
    Extended inserts
    Use delayed inserts
    Use ignore inserts
    Use hexadecimal for binary fields
Export type:

Ken.

Read the instruction at the link I posted and only do the steps that it calls for.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

DonaldDasher

#22
Thanks - I now have a downloaded backup of the database (70.6 MB) and have TP up and running.

My next question - how do I move everything into the root directory as I want TP as my home page?


G6Cad



G6Cad

You must be joking, link to a link with the url i posted ? click it or copy and paste the url into your browser.....

DonaldDasher

I meant a direct link to the article - I can seem to find anything.

G6Cad

For things on SMF, you have their docsection, and that is searchable.

This website is proudly hosted on Crocweb Cloud Website Hosting.