Hi there,
I try to install tiny portal 0,98 ( SMF 1.1.8 ) and the test results is ok:
Installing this package will perform the following actions: Type Action Description
1. Extract Tree ./Themes
2. Extract Tree ./Sources
3. Extract Tree ./tp-downloads
4. Extract Tree ./tp-images
5. Extract Tree ./FCKeditor
6. Extract Tree ./wysiwyg
7. Execute Code tp_install.php
8. Execute Modification ./index.php Test successful
9. Execute Modification .\Sources/Load.php Test successful
10. Execute Modification .\Themes\default/index.template.php Test successful
11. Execute Modification ./Themes/babylon/index.template.php Test successful
12. Execute Modification .\Sources/Subs.php Test successful
13. Execute Modification .\Sources/ManagePermissions.php Test successful
14. Execute Modification .\Sources/Security.php Test successful
15. Execute Modification .\Sources/Errors.php Test successful
16. Execute Modification .\Themes\default/style.css Test successful
17. Execute Modification .\Themes\default/Help.template.php Test successful
18. Execute Modification .\Sources/Profile.php Test successful
19. Execute Modification ./SSI.php Test successful
But, when i hit the Install button i get this error:
Fatal error: require() [function.require]: Failed opening required 'C:\inetpub\vhosts\adultforumgr.com\httpdocs/Packages/temp/./tp_install.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\adultforumgr.com\httpdocs\Sources\Packages.php on line 556
Is look like "temp" folder missing or something similar ..? ???
This usually indicates a permissions error and you need to talk to your host.
Create a temp folder, and as Renegd98 mentions, check the files for the correct permissions. SMF has a list of permissions that need to be CHMOD to either 777 or 755
Thanks for your replies guys..!
The server is dedicated / Remote desktop panel / Windows plesk
I try to create a folder and i called "temp" in httpdocs/Packages/ and i see what gone happens..
Is ok this step..? ???
Yes its fine.
Hi again.. :-\
I create the folder and retry to install but i get the same error:
Fatal error: require() [function.require]: Failed opening required 'C:\inetpub\vhosts\adultforumgr.com\httpdocs/Packages/temp/./tp_install.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\adultforumgr.com\httpdocs\Sources\Packages.php on line 556
So, i go to Packages.php line 556 and say that:
// Now include the file and be done with it ; ).
require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);
And something else.. the "temp" folder who i create, was not exist when i see after in /Packages
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F0939%2FInstall_error.jpg&hash=1d9d76efae32a0d1f4089e0687ecd0a9a8fdf1ab) (http://g.imagehost.org/view/0939/Install_error)
And always when i go to install the TP, SMF ask me for FTP logins to proceed:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F1000%2FFTP_Logins.jpg&hash=e52d60b639d39fe27a48faffc86eaaf67baf9693) (http://g.imagehost.org/view/1000/FTP_Logins)
Is so difficult to install this portal..? :D :o
"Is so difficult to install this portal..?"
In most cases it's very easy, but if your server/host is having file permission issues it can go wrong because the required edits are not working.
You may need to do the install manually and you can find those instructions here:
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)
But as Renegd98 mentioned already, you need to contact your service provider and have them change 'ownership' of the files over to you so that the package manager will work correctly.
EDIT:
When this was originally posted the link that I gave above was/is incorrect; this is the correct link for the TP.098 Mod Instruction:
http://docs.tinyportal.co.uk/index.php/topic,139.html
i was already install 6 mods without problem and without permission issues..
1. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
2. Look But No Read 1.3 [ Uninstall ] [ List Files ] [ Delete ]
3. phpBB3_Login_Fix 1.0 [ List Files ] [ Delete ]
4. Post Count Warning 1.1 [ Apply Mod ] [ List Files ] [ Delete ]
5. Simple_Mood 1.0 [ Uninstall ] [ List Files ] [ Delete ]
6. TinyPortal 0.983 [ Apply Mod ] [ List Files ] [ Delete ]
7. YouTube BBCode 2.4 [ Uninstall ] [ List Files ] [ Delete ]
That is the strange.. :-\
So, about the manual install is quiet confuse to change all those codes, and download/upload files/directories, because the forum is online now and if something going wrong that make it more difficult..
Hi EasyRider,
It's actually not that uncommon to have install issues with Mods for SMF.
It's true that most of the time Mods will install OK, but there are lots of things that can throw the process off and server file permission issues is one that happens for some folks... it happens about 1-2 times a month on my site and each time I must contact my host so that he can run a code that returns file ownership to me.
In any case... the manual install process for TinyPortal is easy to do, it just takes a little time and careful attention to detail, plus it's a great way to learn more about how the file system for SMF/TP works.
Give it a try. :)
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29) EDIT:When this was originally posted the link that I gave above was/is incorrect; this is the correct link for the TP.098 Mod Instruction:
http://docs.tinyportal.co.uk/index.php/topic,139.html
Here is little how-to that you may find useful:Doing a manual install of TinyPortal is easy to do, you just need to follow the directions found in the Manual Install File Modifications Guide. (http://docs.tinyportal.co.uk/index.php?topic=140)
Take your time and read carefully as you go and it will work well.
Here's how to safely do file edits:FileZilla (http://filezilla.sourceforge.net/)
One of the better ftp utilities and it's free.
It's the only one I use.And you'll need a good editor, here is a nice free one:
Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm)
Any time you do anything to your forum there is one thing that you should make part of your routine, like:
Backup... Backup... Backup!When editing a file I generally do this;
- Make a temp folder on my desktop...
- Open the site with the FileZilla FTP utility...
- Download a copy of the file in question and place it in the temp folder...
- Then download a fresh copy into my editor and edit away...
- Go back to the site and rename the existing online copy of the file to something else, like, old_filename.php...
- Then upload the edited version of the file.
When doing several files I wait until all of them have been edited so that they can all be uploaded at the same time.If everything is OK then I'm finished.
If its all messed up I just delete the bad file that was uploaded, rename the good one to the correct file name and the forum is back to normal.
About the permissions, as i was wrote the server is dedicated and access it through Remote desktop panel and plesk panel.. :-\ (Windows.. :()
EDIT: Sorry for the edit, I hit the wrong button... the correct message follows on after this... Ken.
Quote from: EasyRider on March 17, 2009, 11:52:59 AM
About the permissions, as i was wrote the server is dedicated and access it through Remote desktop panel and plesk panel.. :-\ (Windows.. :()
EDIT: Sorry for the edit, I hit the wrong button... the correct message follows on after this... Ken.
Someone with server experience may have a different answer, but AFAIK that should not make any difference. The hosting company should be able to assign ownership of the files to you so that you can make edits and install/delete files to your site.
As it happens my file ownership on my site has gone away while we've been working this thread, so now I must send a note to my host and ask him to run the code routine on the server that will reassign those rights to me. You may need to do that same with the person/people who run your server.
Hey Ken, i admin the server through Remote desktop panel ( root access)
Is possible to change some permissions there for files or directories to avoid the manual install..?
(because i don't understand very well some part's of the steps in "manual install how to".. :-\)
Also i thing about to do the manual install in the ofline copy of forum first (XAMPP) and if everything gone well i try the same steps in the online.. ???
Take a look how is the permissions in the new "temp" file.
777 in numerical value, and click ok.
Ok, i try this.. thank you IchBin :) :up:
I just try this.. :-\
You may need to do that command as root if it does not work.
As root, in properties > security is about 6 users (include SYSTEM).. :-\ who is the right user to give them the necessary permissions..? :-\ this is the bigger problem.. :-\ :-\ :-\
Bah... windows! Sorry, I don't know how to configure windows mate. You might want to find a site that has some windows server guru's to help you with this problem.
"Bah... windows! "
My friend IchBin, yes.. that exactly i say too when i see what server i gone admin.. :-\
Hey guys.. what about .. the "new" v1.0 beta 3.. if.. i try.. what you thing.. :-X :-X :-X
Quote from: Ken. on March 17, 2009, 11:52:41 AM
Hi EasyRider,
It's actually not that uncommon to have install issues with Mods for SMF.
It's true that most of the time Mods will install OK, but there are lots of things that can throw the process off and server file permission issues is one that happens for some folks... it happens about 1-2 times a month on my site and each time I must contact my host so that he can run a code that returns file ownership to me.
In any case... the manual install process for TinyPortal is easy to do, it just takes a little time and careful attention to detail, plus it's a great way to learn more about how the file system for SMF/TP works.
Give it a try. :)
How do I manually install TinyPortal (http://docs.tinyportal.co.uk/index.php?topic=29)
Here is little how-to that you may find useful:
Doing a manual install of TinyPortal is easy to do, you just need to follow the directions found in the Manual Install File Modifications Guide. (http://docs.tinyportal.co.uk/index.php?topic=140)
Take your time and read carefully as you go and it will work well.
Here's how to safely do file edits:
FileZilla (http://filezilla.sourceforge.net/)
One of the better ftp utilities and it's free.
It's the only one I use.
And you'll need a good editor, here is a nice free one:
Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm)
Any time you do anything to your forum there is one thing that you should make part of your routine, like:
Backup... Backup... Backup!
When editing a file I generally do this;
- Make a temp folder on my desktop...
- Open the site with the FileZilla FTP utility...
- Download a copy of the file in question and place it in the temp folder...
- Then download a fresh copy into my editor and edit away...
- Go back to the site and rename the existing online copy of the file to something else, like, old_filename.php...
- Then upload the edited version of the file.
When doing several files I wait until all of them have been edited so that they can all be uploaded at the same time.
If everything is OK then I'm finished.
If its all messed up I just delete the bad file that was uploaded, rename the good one to the correct file name and the forum is back to normal.
Hey Ken.. i start to manual install the TP in a copy to my forum offline (XAMPP) and :
I make the folders TPmanual-install > SMF > TP and i copy ( double time 1 in SMF and 1 in TP folder;) from the forum the files/folders who the guide said..
5.| Download a copy of the following files from your forum and place them in SMF - and - TP folders. These are the files that Tiny Portal modifies:
Sources Directory: Admin.php
Sources Directory: BoardIndex.php
Sources Directory: Errors.php
Sources Directory: Load.php
Sources Directory: ManagePermissions.php
Sources Directory: Profile.php
Sources Directory: QueryString.php
Sources Directory: Security.php
Sources Directory: Subs.php
Sources Directory: Subs-Post.php
Themes Directory/default: index.template.php
Themes Directory/default: style.css
Themes Directory/default: Help.template.php
Forum Directory: SSI.php
Forum Directory: index.php
6.| After you have a copy of your SMF files downloaded to both the SMF and TP folders, follow these instructions to manually make the code changes necessary to the files in the TP folder.
http://docs.tinyportal.co.uk/index.php/topic,140.htmlBut in
Mod Instructions for SMF 1.1.* and TP V1.0.* (http://docs.tinyportal.co.uk/index.php/topic,140.html) say :
OPEN FILE:
$boarddir/Themes/babylon/index.template.phpI dont have any babylon theme folder in my "TPmanual-install" ..!!!
maybe somthing wrong with this guide..?
There's nothing wrong with the guide. :)
If you have SMF installed then you should have Babylon installed as well... here's how it breaks down:
$boarddir/Themes/babylon/index.template.php
$boarddir = the folder where you have your SMF forum installed.
/Themes = the themes folder inside that SMF folder.
/babylon = the Babylon theme folder.
/index.template.php = the file that the edit instruction is pointing you to.
Yes, sure i have this theme in smf (is in the install packet anyway) but i am talking about
the copys in the "TPmanual-install" folder, i dont see and i dont copy any file named "babylon" in the guide:
5.| Download a copy of the following files from your forum and place them in SMF - and - TP folders. These are the files that Tiny Portal modifies:
Sources Directory: Admin.php
Sources Directory: BoardIndex.php
Sources Directory: Errors.php
Sources Directory: Load.php
Sources Directory: ManagePermissions.php
Sources Directory: Profile.php
Sources Directory: QueryString.php
Sources Directory: Security.php
Sources Directory: Subs.php
Sources Directory: Subs-Post.php
Themes Directory/default: index.template.php
Themes Directory/default: style.css
Themes Directory/default: Help.template.php
Forum Directory: SSI.php
Forum Directory: index.php
6.| After you have a copy of your SMF files downloaded to both the SMF and TP folders, follow these instructions to manually make the code changes necessary to the files in the TP folder.
http://docs.tinyportal.co.uk/index.php/topic,140.html
Or, ÃŽâ,,¢ do something wrong..? ??? ??? ??? :-\
So, is quiet late in my country.. see you tomorrow guys.. :)
Stay Tuned,
Demetris
EasyRider,
This is not as difficult as you are trying to make it appear to be. If you look at Ken's previous message ...
Quote from: Ken. on March 17, 2009, 11:52:41 AM
Backup... Backup... Backup!
When editing a file I generally do this;
- Make a temp folder on my desktop...
- Open the site with the FileZilla FTP utility...
- Download a copy of the file in question and place it in the temp folder...
- Then download a fresh copy into my editor and edit away...
- Go back to the site and rename the existing online copy of the file to something else, like, old_filename.php...
- Then upload the edited version of the file.
When doing several files I wait until all of them have been edited so that they can all be uploaded at the same time.
If everything is OK then I'm finished.
If its all messed up I just delete the bad file that was uploaded, rename the good one to the correct file name and the forum is back to normal.
When it says ...
QuoteOPEN FILE:
$boarddir/Themes/babylon/index.template.php
That means to ...
1. Download the index.template.php file from the babylon folder on your site and place it in the temp folder on your computer. It might make it easier to understand if you have created a babylon folder inside a Themes folder in the temp folder on your computer so that you know exactly what file you're working on. For instance, YourComputerDrive/tempfolder/Themes/babylon/index.template.php is the file you are working on in this case.
2. Open it in your editor and make the specified edits and save the file.
3. Go to your site and rename the index.template.php file in the babylon folder to index.template.php.old, or something like that.
4. Upload the edited index.template.php file from the .../tempfolder/Themes/babylon/ folder on your computer to the .../ForumFolder/Themes/babylon/ folder on your site.
5. Done with that file, repeat for other files.
ZarPrime
And if you DONT have babylon theme, skip that part of the instructions, the default Core theme is whats important...
Quote from: G6 on March 18, 2009, 05:57:53 AM
And if you DONT have babylon theme, skip that part of the instructions, the default Core theme is whats important...
The forum have babylon theme, but this directory($boarddir/Themes/babylon/index.template.php) is NOT in guide.. that i say..
Or, i cant see it.. :o :o
5.| Download a copy of the following files from your forum
and place them in SMF - and - TP folders.
These are the files that Tiny Portal modifies:
Sources Directory: Admin.php
Sources Directory: BoardIndex.php
Sources Directory: Errors.php
Sources Directory: Load.php
Sources Directory: ManagePermissions.php
Sources Directory: Profile.php
Sources Directory: QueryString.php
Sources Directory: Security.php
Sources Directory: Subs.php
Sources Directory: Subs-Post.php
Themes Directory/default: index.template.php
Themes Directory/default: style.css
Themes Directory/default: Help.template.php
Forum Directory: SSI.php
Forum Directory: index.php
Hey EasyRider, I'm reading back through this entire thread and find that I'm unsure that we are talking about the same thing in all cases. :)
So, please bear with me here and lets make sure that we're all on the same page together.
When you say;
QuoteThe forum have babylon theme, but this directory($boarddir/Themes/babylon/index.template.php) is NOT in guide
You are correct, it's not there because it's it's in SMF, not in TP.
Example... To edit the "$boarddir/Themes/babylon/index.template.php" file you would go to your folder for SMF and then follow this path:
SMF>Themes>babylon>index.template.php... and then do the edits that the instruction calls for in that file.
The whole point is this... if we install TP it is installed to SMF, so if we edit a file it is the SMF file that we edit.
And, just in case... this is the instruction you should be using for your file edits.
http://docs.tinyportal.co.uk/index.php?topic=140
EasyRider,
No, that line is not in the guide. If it will make you feel better, use this for number 5 ...
5.| Download a copy of the following files from your forum and place them in SMF - and - TP folders. These are the files that Tiny Portal modifies:
* Sources Directory: Admin.php
* Sources Directory: BoardIndex.php
* Sources Directory: Errors.php
* Sources Directory: Load.php
* Sources Directory: ManagePermissions.php
* Sources Directory: Profile.php
* Sources Directory: QueryString.php
* Sources Directory: Security.php
* Sources Directory: Subs.php
* Sources Directory: Subs-Post.php
* Themes Directory/default: index.template.php
* Themes Directory/default: style.css
* Themes Directory/default: Help.template.php
* Themes Directory/babylon: index.template.php
* Forum Directory: SSI.php
* Forum Directory: index.php
instead of this ...
5.| Download a copy of the following files from your forum and place them in SMF - and - TP folders. These are the files that Tiny Portal modifies:
* Sources Directory: Admin.php
* Sources Directory: BoardIndex.php
* Sources Directory: Errors.php
* Sources Directory: Load.php
* Sources Directory: ManagePermissions.php
* Sources Directory: Profile.php
* Sources Directory: QueryString.php
* Sources Directory: Security.php
* Sources Directory: Subs.php
* Sources Directory: Subs-Post.php
* Themes Directory/default: index.template.php
* Themes Directory/default: style.css
* Themes Directory/default: Help.template.php
* Forum Directory: SSI.php
* Forum Directory: index.php
ZarPrime
Quote from: Ken. on March 18, 2009, 02:07:09 PM
Hey EasyRider, I'm reading back through this entire thread and find that I'm unsure that we are talking about the same thing in all cases. :)
So, please bear with me here and lets make sure that we're all on the same page together.
When you say;
QuoteThe forum have babylon theme, but this directory($boarddir/Themes/babylon/index.template.php) is NOT in guide
You are correct, it's not there because it's it's in SMF, not in TP.
Example... To edit the "$boarddir/Themes/babylon/index.template.php" file you would go to your folder for SMF and then follow this path:
SMF>Themes>babylon>index.template.php... and then do the edits that the instruction calls for in that file.
The whole point is this... if we install TP it is installed to SMF, so if we edit a file it is the SMF file that we edit.
And, just in case... this is the instruction you should be using for your file edits.
http://docs.tinyportal.co.uk/index.php?topic=140
What i mean Ken, is:
Start work in manual install and create those folders in my desktop:
TPmanual-install / SMF / TP /
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F0641%2FTPmanual-install.jpg&hash=9b60ec6297b2ebb34e9693bd40d38683e4a65610) (http://g.imagehost.org/view/0641/TPmanual-install) (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F0621%2FSMF.jpg&hash=849d6d0f0569d9dc7e9a4dba29af08c12d9b42b2) (http://g.imagehost.org/view/0621/SMF) (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F0510%2FTP.jpg&hash=0da7e1b47dd5950bfe4327a9b4bd5732003ececb) (http://g.imagehost.org/view/0510/TP)
Extract the Tiny Portal files to a folder named: TPmanual-install
Copy those files/folders from my SMF forum, in both SMF and TP folders:
Sources Directory: Admin.php
Sources Directory: BoardIndex.php
Sources Directory: Errors.php
Sources Directory: Load.php
Sources Directory: ManagePermissions.php
Sources Directory: Profile.php
Sources Directory: QueryString.php
Sources Directory: Security.php
Sources Directory: Subs.php
Sources Directory: Subs-Post.php
Themes Directory/default: index.template.php
Themes Directory/default: style.css
Themes Directory/default: Help.template.php
Forum Directory: SSI.php
Forum Directory: index.php
And start edit/ modify only the TP folders content.
And when i arrive in step to edit the /Themes/babylon/index.template.php
i realize was not in the list in guide.. thats all i say.. :)
So, now i know what i gone do, copy the Themes/babylon/index.template.php in TPmanual-install\Themes\babylon folder and edit it as show in guide. :) :)
Maybe my english is not so good, so can't catch you all the time.. sorry adout.. :-\
Stay Tuned,
Demetris
ZarPrime, yes i see now.. thank you mate.. :) (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2F0729%2Fafro.gif&hash=3e063fa45e2de8e08424581864a0063533029b16) (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2F0729%2Fafro.gif&hash=3e063fa45e2de8e08424581864a0063533029b16)
One more question..
I change all the .php files in TPmanual-install/SMF/TP folder,
I have to upload / overwrite all the local "TPmanual-install" folder at once, or only the content of each folder separately ..?
Because the SMF (TPmanual-install/SMF/TP ) folder is not edited and i dont khow if is necessary to upload them too .. ??? :-\
Quote from: EasyRider on March 18, 2009, 05:02:55 PM
One more question..
I change all the .php files in TPmanual-install/SMF/TP folder,
I have to upload / overwrite all the local "TPmanual-install" folder at once, or only the content of each folder separately ..?
Because the SMF (TPmanual-install/SMF/TP ) folder is not edited and i dont khow if is necessary to upload them too .. ??? :-\
Anwy,
Thank you guys for the help ,
Stay Tuned
EasyRider,
It doesn't matter whether you upload all the edited files at once or one at a time. Since you have renamed the files on your site that you edited on your computer to XXX.old or whatever, the edited files will not overwrite the old ones.
ZP
Yes, ok about that, but i ask about who exactly folders i have to upload, and what directory which.
I have to upload all files in "TPmanual-install" except SMF, include SMF etc..
Because in guide say:
7.| Upload your edited files in your "TPmanual-install/SMF/TP" folder to there proper directories and your almost done! If you run into trouble, you can always upload the unedited files from your "TPmanual-install/SMF" folder to the proper directories for a quick fix.
If you never install before the TP how you must khow the "proper directories"..?? ??? ???
That i say my fried ZarPrime.. :)
Thank you for your reply. :)
TinyPortal uses the same exact directory names as what is in SMF. How can you think that the files would go anywhere else?
Ok, my fried IchBin.. :)
I just do the replace with files and try to run the tp_install.php
And i get this error:
Install / Upgrade TinyPortal v0.9.8 beta
Upshrink table created
Settings table created
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 169
Settings table updated
Added 98 new setting(s)
Blocks table created.
some sample values were added to the blocks table
Variables table created.
some sample values were added to the variables table
Articles table created.
some sample values were added to the articles table
DL manager table created
Shoutbox table created
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\smf\tp_install.php on line 874
TinyPortalÃ,´s table structure is now installed/updated.
Please restart your forum to see the changes.
When installing TP 0.9.8 you do not run tp_install.php. You run manual_tp_install.php.
Hi IchBin, and thank you for all help and your advise thanks Ken ZarPrime & G6 also.
Adout the manual_tp_install.php.. i just dont have this file in the TPmanual-install temp folder in my desktop..! :-\
And i dont find something like in the quide..
From "How Do I Manually Install Tiny Portal?":
8.| Finally, run the "tp_install.php" in your forum root by visiting the URL of that file in your browser. This will update your database. Your manual install should be complete!
OPP.. !! now i see.. is separate install file.. "TinyPortal 0.9.8 Manual install" ok.. :) ;D
Hi there :)
So, i do the necessary steps/edits and finally run the manual_tp_install.php file from my browser and the result look ok:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fg.imagehost.org%2Ft%2F0854%2FClipboard01.jpg&hash=15bc5638fd62028670e09839edd25f47b2f47a1f) (http://g.imagehost.org/view/0854/Clipboard01)
But when i try to run my forum i get this error:
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\smf/Sources/TPSubs.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\smf\Sources\Subs.php on line 3116
That ask my for TPSubs.php file i think but i dont have any in the TP_0983_manual folder..
The 3116 line is this:
require_once($sourcedir.'/TPSubs.php');
As the manual instructions say, i do the steps:
Find:
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
Add After:
// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //
And then the code look like this:
// Set up the menu privileges.
$context['allow_search'] = allowedTo('search_posts');
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //
I do something wrong..? ??? ???
Easyrider, please stop continuously posting one reply after another. if you have something to add, Edit the last post that you made. It makes it easier to follow a thread. I'm not sure what problems you are having, but 5 pages of support should have this nailed by now.. short of having somebody do it for you.
You seem to have problems following instructions.. I don't know how you arrived at the conclusion above. But, following what it says on the tin:
Find:
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
Add After:
// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //
RESULT:
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));
// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //
Ηι Zetan.. thank you for the reply and your help,
You have right about the post, sorry if you thing is obsessives :-\
And sorry about my bad English.. (some words i must to translate )
That i say, i follow step by step the instructions, and final run ok the manual_tp_install.php as show above, but when i try to access the forum with installed TP i get this error:
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\smf/Sources/TPSubs.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\smf\Sources\Subs.php on line 3116
In any case, if you thing is not possible or i cant do it through manual install, you can lock it my fried.
Best Regards,
Demetris
I don't want or need to lock a topic. I understand that you are having problems with it. :)
From the error message, it looks like you haven't edited a file correctly. one simple mistake can make the difference between it working, and not.
You need to go back through the guide, again. I assume you are doing this on a local machine?
Ok my fried, i go back and i read more carefully the guide from beginn.
Yes you right, i do it in my desktop through XAMPP Control Panel (http://www.apachefriends.org/en/xampp.html) cause the forum i admin/help is online now and trying is a little risky for me.. ( as you can see.. ::) ;D )
The forum URL
http://www.adultforumgr.com/index.php
I would start again from fresh. New install of SMF, then install TinyPortal. Install the other mods you want to use, then install themes.
I've not tried to install on a local machine, so there may be other steps involved.. I think IchBin would have mentioned it though, if there were.
Quote from: Zetan on March 23, 2009, 11:40:13 AM
I would start again from fresh. New install of SMF, then install TinyPortal. Install the other mods you want to use, then install themes.
You mean in local machine, yes..? ??? ( and i thing is good to take and install fresh backup from online fomum to be exactly the same conditions with online)
Quote from: Zetan on March 23, 2009, 11:40:13 AM
I've not tried to install on a local machine, so there may be other steps involved.. I think IchBin would have mentioned it though, if there were.
Is easy to explain about (other words), cause im little goofy; in English..? :-\
Thank you for your help anyway, and sorry for the trouble's.. :up:
No wonder you are having problems. You've been following the installation doc for installing TP 1.0. You need to make sure you are using the instructions for the correct version of TP that you are using.
http://docs.tinyportal.co.uk/index.php/topic,123.html
http://docs.tinyportal.co.uk/index.php/topic,139.html
Been reading back through this topic and it appears that it took a wrong turn because I gave out a link to the incorrect Doc page for the install issue that EasyRider was having. (the link should have been for TP .9x; not for TP 1.x)
My apologies to all involved for all the extra time and work that each of you put into the topic because of my mistake.
Thanks to IchBinâ„¢ for catching the error and posting the correct links.
My friend Ken, apologies I have to say and i say, for all the time you and the other guys spent to help me.
Is my English so bad that make the things so difficult for me (and more for you).
Now, i take it personal to install the TP manual.. is something like bet for me.. >:(
I hope not worry all of you anymore and i only need to post again to say "I Did It Finally..!"
Thank you for your help, and all guys also. You are cool guys and team.
Regards,
Demetris
After so much time..
I DID IT FINALLY..! ;D ;D ;D ;D ;D
Thank you all guys..!! and specially you my friend Ken for your time and your help..!!!
Please flag it like solved ! :) :) :)
Quote from: EasyRider on September 22, 2009, 02:11:44 PM
After so much time..
I DID IT FINALLY..! ;D ;D ;D ;D ;D
Thank you all guys..!! and specially you my friend Ken for your time and your help..!!!
Please flag it like solved ! :) :) :)
Good job! :up: