TinyPortal

Development => Support => Installation => Topic started by: Flusher on September 11, 2006, 10:02:25 PM

Title: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:02:25 PM
When i use the package manager to install the latest tp0.95 on 1.1RC3 (which runs on utf8), I get the following error: /Sources/Profile.php - Test failed. All the other files get success.

I have other mods installed, so I can not do a manual install?


From the error log:

2: mkdir(): SAFE MODE Restriction in effect. The script whose uid/gid is 10872/10872 is not allowed to access /filepath..../Packages/temp/Themes owned by uid/gid 99/99
File: /filepath..../Sources/Subs-Package.php
Line: 1223
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 11, 2006, 10:05:10 PM
You can use the ready to go files from the sticky post in the installation board.
But if you replace it and get Tp up and running, you will have to fix the code in the file for your other mods.
Another way is to proceed with the install, and then add the code in to Subs.php manually. The code you find in the Documentation forum here
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:06:29 PM
Hmm...but I'm a newbie to SMF, and I have no idea on what to change if I do this. Is there no other way?
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 11, 2006, 10:07:22 PM
Just edited my post over this one, you can read the same again and see what i wrote :)
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:09:19 PM
Ok, thanks, I will try.
If I fail, I will ask for more help..! :) Thank you very much! :)
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:22:27 PM
Oh no!

My forum is down..! The message i get when trying to access www.gametraders.no is this:

Warning: main(): Unable to access /mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/Sources/TPortal.php in /mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/index.php on line 53

Warning: main(/mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/Sources/TPortal.php): failed to open stream: No such file or directory in /mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/index.php on line 53

Fatal error: main(): Failed opening required '/mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/Sources/TPortal.php' (include_path='.:/usr/local/lib/php') in /mounted-storage/home19d/sub001/sc19916-JLLY/www.gametraders.no/index.php on line 53

Any ideas what have happend here?
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 11, 2006, 10:24:45 PM
You got the error on the Subs.php, but did you follow up and add the code in to Subs.php manually as i said erlier ?
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:26:43 PM
Yes I did, although all the lines were in place in the file, but not in Profile.php, so I copied in all the lines from the documentation (first i downloaded the profile.php like it was). The error came, and i uploaded the profile.php from before the edit, and the same error occured.
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 11, 2006, 10:29:22 PM
What you have to do is to download the manual Tp install package, and extract the files on your local machine, then upload all of them manually and overwrite the ones you have there (it will only overwrite the TP files)
And look so you get all the files up and that they are having the correct permissions and no 0 zero byte files
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 11, 2006, 10:30:11 PM
MAKE SURE you are doing all of this with the forum set to SMF DEFAULT, no other themes will work
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:31:16 PM
Ok, I will try this. I use SMF Default theme. Thanks!
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 11, 2006, 10:40:40 PM
This went to H..
I'm now deleting the whole site and database.

The thing i should do now, is install SMF1.1RC3, then do the manual install of tp before installing anything else?

Is there problems with the utf8 encoding?
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: Flusher on September 12, 2006, 12:58:52 PM
I have now uploaded a clean install of RC1.1, and then i uploaded the manuall install of tp. But i get errors when i try to access the site after the upload.
Is there a .sql script i need to run as well?

(my hosting server is Safe Mode on)
Title: Re: SMF 1.1RC3, TP 0.95 - /Sources/Profile.php - Test failed
Post by: G6Cad on September 12, 2006, 01:46:56 PM
Clean install or just the files ??
If it's just the files, you need to run repair_settings.php in order to get the DB to find the way to the forum files again.
And if you just uploaded the Tp files, you need to add code in to some of the SMF files to get TP to work.
Here (http://www.tinyportal.net/smf/index.php?topic=7884) are the link to the page with all the code you need to add in to the correct files.
Or you can simply download the zip file from here (http://www.tinyportal.net/smf/index.php?action=dlattach;topic=8247.0;attach=5708) and extract the zip and upload and overwrite the old ones AFTER you made a backup of the same files on your server.

I have read that the safe mod set to on can cause some errors for some people, but some works great.
So you can try to set it to off and see if you get any closer