News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Cannot Install Packages

Started by lizsan, December 28, 2009, 01:19:43 PM

Previous topic - Next topic

lizsan

I get the error messages:

An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

I have chmod all to 0777 since source and the packages folder was not-writable.

What can I do so I can install my mods?

I am very new on this!

I have SMF 2RC2.0

Arantor

You also need to ensure that your themes directory is also writable.

* Arantor moves to 2.x Support where it can be better supported.

lizsan

I have and its ok!

I can install themes... but no packages.

What should I do?

Arantor

Try making a folder called temp in Packages/

N3RVE

Remember to chmod the "temp" dir as well :).

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

lizsan

#5
Yeah! It worked.. :) Thanks.. ;)

N3RVE

The 0777 file attribute is forbidden on some server environments.
You may want to try 0755 and/or 0775 on ./Packages and ./Packages/temp

Update: I see you modified your post. Good thing you got it sorted. Topic marked as solved :)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

lizsan

I have another problem now. The simple portal never showed up and I tried to uninstall it and got the same message:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

What is going on?

N3RVE

You should follow the same steps for uninstallation, create the "temp" directory and chmod accordingly :).

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

lizsan


lizsan

Ok, now I get.. during unintsall of previous package


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.

Why is this so?

I had no trouble installing even if the simple portal did not show afterwards?
I really want this mod.

What should I do?

ZerK

i think i know what is the problem, your host has the safe_mode on ?

Tyrsson

Which test failed? Just some of them or all of them? Can you please upload and link to a phpinfo file?

What is a phpinfo() file?
PM at your own risk, some I answer, if they are interesting, some I ignore.

lizsan

First it was just some of them...but then I got this error ..

Now its all of them...

http://ussinterceptor.starfleetuk.org/phpinfo.php

Tyrsson

Most likely your problems are going to be caused by the last two compile commands which disabled the xml reader etc.

'--disable-xmlreader' '--disable-xmlwriter'

Does the test failed show as "parse error"?
PM at your own risk, some I answer, if they are interesting, some I ignore.

lizsan

#15
Quote from: Tyrsson™ on December 28, 2009, 03:13:21 PM
Most likely your problems are going to be caused by the last two compile commands which disabled the xml reader etc.

'--disable-xmlreader' '--disable-xmlwriter'

Does the test failed show as "parse error"?

I am not going to pretend I understood that, but I can't find the word parse on the test page for uninstalling?


1.  Execute Modification  ./index.php  Test failed
1. Replace ./index.php Test failed
2. Replace ./index.php Test failed
3. Replace ./index.php Test failed
4. Replace ./index.php Test failed
5. Replace ./index.php Test failed
6. Replace ./index.php Test failed
7. Replace ./index.php Test failed
* 2. Execute Modification ./SSI.php Test failed
1. Replace ./SSI.php Test failed
2. Replace ./SSI.php Test failed
* 3. Execute Modification ./Sources/Admin.php Test failed
1. Replace ./Sources/Admin.php Test failed
2. Replace ./Sources/Admin.php Test failed
3. Replace ./Sources/Admin.php Test failed
* 4. Execute Modification ./Sources/Display.php Test failed
1. Replace ./Sources/Display.php Test failed
* 5. Execute Modification ./Sources/Help.php Test failed
1. Replace ./Sources/Help.php Test failed
* 6. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test failed
2. Replace ./Sources/Load.php Test failed
* 7. Execute Modification ./Sources/ManagePermissions.php Test failed
1. Replace ./Sources/ManagePermissions.php Test failed
2. Replace ./Sources/ManagePermissions.php Test failed
3. Replace ./Sources/ManagePermissions.php Test failed
* 8. Execute Modification ./Sources/ManageServer.php Test failed
1. Replace ./Sources/ManageServer.php Test failed
* 9. Execute Modification ./Sources/QueryString.php Test failed
1. Replace ./Sources/QueryString.php Test failed
* 10. Execute Modification ./Sources/Recent.php Test failed
1. Replace ./Sources/Recent.php Test failed
2. Replace ./Sources/Recent.php Test failed
3. Replace ./Sources/Recent.php Test failed
* 11. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test failed
2. Replace ./Sources/Subs.php Test failed
3. Replace ./Sources/Subs.php Test failed
4. Replace ./Sources/Subs.php Test failed
5. Replace ./Sources/Subs.php Test failed
6. Replace ./Sources/Subs.php Test failed (Ignore Errors)
7. Replace ./Sources/Subs.php Test failed (Ignore Errors)
8. Replace ./Sources/Subs.php Test failed
9. Replace ./Sources/Subs.php Test failed
10. Replace ./Sources/Subs.php Test failed
* 12. Execute Modification ./Sources/Subs-BoardIndex.php Test failed
1. Replace ./Sources/Subs-BoardIndex.php Test failed
* 13. Execute Modification ./Sources/Subs-Boards.php Test failed
1. Replace ./Sources/Subs-Boards.php Test failed
* 14. Execute Modification ./Sources/Who.php Test failed
1. Replace ./Sources/Who.php Test failed
2. Replace ./Sources/Who.php Test failed
3. Replace ./Sources/Who.php Test failed
4. Replace ./Sources/Who.php Test failed
* 15. Execute Modification ./Themes/default/Display.template.php Test failed
1. Replace ./Themes/default/Display.template.php Test failed
16. Delete File ./PortalStandalone.php
17. Delete File ./Sources/PortalArticles.php
18. Delete File ./Sources/PortalBlocks.php
19. Delete File ./Sources/PortalMain.php
20. Delete File ./Sources/PortalPages.php
21. Delete File ./Sources/PortalShoutbox.php
22. Delete File ./Sources/PortalAdminArticles.php
23. Delete File ./Sources/PortalAdminBlocks.php
24. Delete File ./Sources/PortalAdminMain.php
25. Delete File ./Sources/PortalAdminPages.php
26. Delete File ./Sources/PortalAdminShoutbox.php
27. Delete File ./Sources/Subs-Portal.php
28. Delete File ./Sources/Subs-PortalAdmin.php
29. Delete File ./Themes/default/Portal.template.php
30. Delete File ./Themes/default/PortalArticles.template.php
31. Delete File ./Themes/default/PortalPages.template.php
32. Delete File ./Themes/default/PortalShoutbox.template.php
33. Delete File ./Themes/default/PortalAdmin.template.php
34. Delete File ./Themes/default/PortalAdminArticles.template.php
35. Delete File ./Themes/default/PortalAdminBlocks.template.php
36. Delete File ./Themes/default/PortalAdminPages.template.php
37. Delete File ./Themes/default/PortalAdminShoutbox.template.php
38. Delete File ./Themes/default/PortalGeneric.template.php
39. Delete File ./Themes/default/languages/SPortal.english.php
40. Delete File ./Themes/default/languages/SPortal.english-utf8.php
41. Delete File ./Themes/default/languages/SPortalAdmin.english.php
42. Delete File ./Themes/default/languages/SPortalAdmin.english-utf8.php
43. Delete File ./Themes/default/languages/SPortalHelp.english.php
44. Delete File ./Themes/default/languages/SPortalHelp.english-utf8.php
45. Delete Tree ./Themes/default/images/sp
46. Delete File ./Themes/default/images/admin/configuration.png
47. Delete File ./Themes/default/images/admin/blocks.png
48. Delete File ./Themes/default/images/admin/articles.png
49. Delete File ./Themes/default/images/admin/pages.png
50. Delete File ./Themes/default/images/admin/shoutbox.png
51. Delete File ./Themes/default/css/portal.css
52. Delete File ./Themes/default/css/portal_rtl.css
53. Delete File ./Themes/default/scripts/portal.js


What should I do?
Should I ask my host to do something?
Or is there something I can do?

lizsan

This seem to appear for all mods I installed. Does that mean they don't work properly? I know simpleportal never showed up! And now an error appear to all mods.

Tyrsson

Well your php.ini does not have safe_mode enabled and unless I overlooked it mod_security doesn't seem to a problem. Can you download one of the files that was supposed to be edited by the Simple Portal mod and attach it here so that I can verify the edits were made?
PM at your own risk, some I answer, if they are interesting, some I ignore.

lizsan

Quote from: Tyrsson™ on December 28, 2009, 03:41:30 PM
Well your php.ini does not have safe_mode enabled and unless I overlooked it mod_security doesn't seem to a problem. Can you download one of the files that was supposed to be edited by the Simple Portal mod and attach it here so that I can verify the edits were made?

What should I download? I don't understand?

Tyrsson

Download a copy of the top level index.php file and attach it here in your next post so that I can see if the edits were made when the mod was installed. You will need to use either filezilla or the file manager in the cpanel of your hosting.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Advertisement: