Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: Slayer5946 - lokakuu 06, 2010, 09:41:55 IP

Otsikko: Error installing
Kirjoitti: Slayer5946 - lokakuu 06, 2010, 09:41:55 IP
It keeps saying this PHP Error Message

Fatal error: require() [function.require]: Failed opening required '/home/a8600918/public_html/100forum/smf/Packages/temp/./SMF1/tp_install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8600918/public_html/100forum/smf/Sources/Packages.php on line 556
When I install a Mod, or it will go to a "Internet cannot display page".

Is there a malfunction in the files or am I installing the mod wrong?


Now I can't install a package because it's saying it's not writable? You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 06, 2010, 09:46:57 IP
Check to make sure the packages directory is CHMOD to 755 and the temp folder inside it is CHMOD to 777.

All folders should generally be 755 while all files should be 644.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 06, 2010, 09:50:12 IP
Huh? Sorry I'm kind of new to coding can you give me a tut to fix this?
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 06, 2010, 09:51:28 IP
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477.0)
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 06, 2010, 09:54:40 IP
I remember those numbers though. Go to the file and change it's file permissions am I right? Is one of the permissions invalid?
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 06, 2010, 09:56:29 IP
Possibly, that is most likely the problem. And you are correct.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 06, 2010, 09:58:28 IP
Still didn't work. I'm installing a portal, I changed the Packages folder to 755 right? Then I went to the folder containing the files of the mod/package and changed it to 777? Didn't change anything. I still haven't gotten any help on my last posts on how to install a portal. I'm getting frustrated ..
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 06, 2010, 10:08:13 IP
The folder containing the files of the mods? You mean the folder called 'temp' right? without quotes... Is there a folder called that in there? If not, create one and make sure its 777. And the files should be 644. If that doesn't work, try deleting the mod then reuploading it and installing it.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 01:51:40 AP
Oh okay I'll try that. I'm kind of recommending that SMF uploads videos to explain it in a more detailed and simpler way of explaining things. I just want to get the portal in and I'm done with most of my mods..!
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 01:53:09 AP
Sorry to double but where is the temp folder located? is it governing the packages folder?
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 02:12:05 AP
Now it's saying the entire thing has become invalid or corrupted? Where is the temp folder?
Otsikko: Re: Error installing
Kirjoitti: xenovanis - lokakuu 07, 2010, 06:38:52 IP
If there's no directory named 'temp' in your Packages directory, create one and chmod it 777.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 10:03:36 IP
Okay but, does that fix those issues above I posted or is that a seprate problem? I just want to get this portal in and I'm done. Thats all..

Okay it seems to get past the writeable issue, now it's doing this same problem resulting this after I install it. Fatal error: require() [function.require]: Failed opening required '/home/a8600918/public_html/100forum/smf/Packages/temp/install/db_install_adkportal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8600918/public_html/100forum/smf/Sources/Packages.php on line 556


ALSO! Before it which it never showed when I first encountered that above ^ it showed this. Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Whats going on do I need to reinstall and reboot my files and smf forum?


Another edit!

I seemed to actually fix it, it was the ADKportal it was probably not working with my forums, I installed simple portal but it's version is 2.2, Can you help me on how I can upgrade my forum where do I install the files to?
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 07, 2010, 10:21:12 IP
The first error means that the package can not access the file db_install_adkportal.php in the temp folder for some reason.

The second means that one or more of the file changes that the mod makes is failing, thus it won't change the code. You will have to make the change manually. See the link in my sig about manual installation of mods.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 10:22:35 IP
Okay thanks it's making much more sense and do you have a link to upgrading your smf ver? Most of the mods downloads are for only 2.0 or 2.2 whatever it's called..
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 07, 2010, 10:28:53 IP
http://download.simplemachines.org/

Upgrading SMF (http://docs.simplemachines.org/index.php?board=3.0;sort=subject)
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 10:31:30 IP
Thank you very much. This topic is now marked answered! I'll make sure of it that if I come across this or something else again I'll ask for your guidance.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 10:52:52 IP
OH wait how do I fix this?

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

I think I may have to reinstall the package I read over it and maybe one of the files is missing or corrupted correct?
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 07, 2010, 10:53:55 IP
Lainaus käyttäjältä: Kill Em All - lokakuu 07, 2010, 10:21:12 IP
The second means that one or more of the file changes that the mod makes is failing, thus it won't change the code. You will have to make the change manually. See the link in my sig about manual installation of mods.
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 10:56:08 IP
That doesn't help because the mod ISN'T there or it's not writeable it won't let me write it. I may have to reinstall correct?
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 07, 2010, 11:00:39 IP
Are all the tests failing?
Otsikko: Re: Error installing
Kirjoitti: Slayer5946 - lokakuu 07, 2010, 11:06:59 IP
Yes.
Otsikko: Re: Error installing
Kirjoitti: Hj Ahmad Rasyid Hj Ismail - lokakuu 08, 2010, 05:56:10 IP
Have you try reinstalling yet Slayer? I would suggest you use the large upgrade package to avoid losing data if you are reinstalling.

One more thing that I note is that your problem could be caused by your host server. Please do contact them and tell them of your problem. They may be able to help you too.

Please update. Thank you.
Otsikko: Re: Error installing
Kirjoitti: Kill Em All - lokakuu 11, 2010, 12:18:51 AP
Check to see if they have mod_security enabled.
Otsikko: Re: Error installing
Kirjoitti: edchapman - marraskuu 02, 2010, 10:15:25 AP
FOR YOUR INFO:  I came upon this problem too and found out is was because I went over the server space quota. I increased the quota and regained access.
Otsikko: Re: Error installing
Kirjoitti: JimM - marraskuu 02, 2010, 08:27:41 IP
Is this issue solved or do you still require assistance?

Can you provide a phpinfo sheet so we can see if mod_security is the issue?  What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)