Having problems with the package manager?

Started by [Unknown], February 20, 2005, 12:32:26 AM

Previous topic - Next topic

Sarge

Your best bet is to contact your host. It looks like a MySQL server performance issue to me, although I could be wrong.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

brianjw


ceewee

SOLVED and still having problems with the package manager!

Been busy last week with "modification parse error", had even to say to my wife , no sorry have a headache honey  ;D
but have partly solved it , with the help of my host servage:

1. It has nothing to do with smf version "whatever",
   besides perhaps   ...package.php
2. it has nothing to do with mods, not suitable mods give errormsg themselves.
3. it has nothing to do with what phpversion you have

Errors besides "modification parse error" are unpacking (if any) zips/gz with filelength 0 bytes, and not modifying files, files or links not showing up and no functionality whatsoever.

I have setup several 1.1.2 and 1.1.4 clean install on different domains, and worked my way thru.

Safe mode (GD) both off before (mod)install, register globals on off
(takes 3 hours to take effect).
lean install works fine but encountered time after time the same "modification parse error".


Checked forumerror log SMF:
admin Today at 11:43:15 AM
82.176.116.58 9532d96eaa5ac8fd62af10f0561e0b73
http://www.degratiskrantvannederland.nl/smf/index.php?action=packages;sa=install;package=feed.zip
8: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 91 bytes failed with errno=32 Broken pipe
File: /mounted-storage/home20b/sub003/sc20581-HXVG/degratiskrantvannederland.nl/smf/Sources/Subs-Package.php
Line: 2902

function.copy and function.fwrite don't work.

And unpacking (if any) zips/gz with filelength 0 bytes has to do with zlib of Apache.

That broken pipe points to server (over)load !!

But there's more:

My host points out that besides chmod there's also CHOWN.
I'm not a techie so I use normal language now:CH is change OWN owner.
When you have Filezilla you see owner in your screen and there you see the
name-holder of the account, for smfsoftware to modify the files you have to change that ownership recursivly (througout the entire smf folders) TO
WEBSERVER recursivly (I use the names as shown to me..perhaps with others that's called otherwise) so the webserver can act standalone as temporay owner
and change files.

However you have to have superuser-status to change the CHOWN.
For chmod a simple ftp prog will do.
If you have in your account a online filemanager, that can point to that status.
Possibly there you can change CHOWN.
(For techies, type chown in google or se)

Note: If your /smf folder has WEBSERVER recursivly as owner, you can download by ftp, but you can't upload anymore ! So plan your work.
One thing at a time. (Or use packagemanager for manuel upload)

After the modification has be done (when doing that I've uploaded and installed/modified 8 mods without errors) you have to CHange the OWNership
back to YOU recursivly, for safety reasons.
You can/should also return to PHP safe mode (GD).

HOWEVER, and this is why it partly works sofar, that broke pipe and server (over)load hampers flawless working.

For instance, I live in the netherlands, europe and around 16.30 USA wakes up
and get online, then I get the same "modification parse error" again !!
Server (over)load..
Cheap servers get server (over)load, expensive once less..I assume..
Or run your own.

For me the late mornings seem to be the best time to install mods, when the USA
is still asleep.

For the developers: Is perhaps the solution that files to be modified are downloaded on the user computer, modified there and uploaded again,
by a standalone packagemangerprog, I dont know if db querys present a problem, but sofar the php functions open, write give the largest problems.

Or divide the modify.xml's in modify files.xml and modify db.xml's ?

Hope this is clear...






ceewee

#703
Forgot to mention: chmod recurisvly (all folders/files to 777 and now no problems when usa is awake...(up till now) ;D

After modinstall change chown and chmod RECURivly back, except folders/files that still need 777...

, please make the following files 777 (writable, 755 on some hosts):
attachments
avatars
Packages
Packages/installed.list
Smileys
Themes
agreement.txt
Settings.php
Settings_bak.php

DarrenOMG

Hi. I get this when trying to apply any mods.

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!

Now, I've double checked EVERYTHING, and it is all CHMODed to 755.

IchBin™

IchBin™        TinyPortal

DarrenOMG

Yes, but then the package manager requires FTP info to mod it back to 755.

Ricky.

Quote from: SodaJim on October 02, 2007, 07:27:25 AM
Problem Solved ! ! !
It was the Path that was the issue...

I entered the complete path to SMF and just removed upper level directories from the string until it finally logged in and installed the 1.1.4 patch...

Thanks again for all the help on this issue ! ! !
Jim

What do you mean by upper level directories ? which one ?
Your forum path is :
/home/sodam1/www/soda-machines.com/discussions
so what you removed from it ?

Ricky.

I see here that most of the people are having same problem ie. mods cannot be installed as files are not writable or directory..

I just solved my problem :

So if you are having problem where your mod display as installed but not really installed then it is all about ftp path.

1. Make sure Packages/temp file is there with 777 permission
2. Make sure you are giving right path, do not give path related to your server.
eg.
my real path to forum directory is :
/home/username/domain.com/www/forumdirectory/


But
Smf need it to relative to your account root only..
so I gave
/username/domain.com/www/forumdirectory

I also removed trailing slash (did not try if worked with trailing slash but it worked for me this way)

I hope shall work for you all. !

DarrenOMG


Ricky.

Your problem is of permission, create temp directory, chmod 777,
I have those to 777 and ftp manage is fine with it.

DarrenOMG

When installing, I get this error.

Fatal error: packageinstall(): Failed opening required '/hsphere/local/home/carrotda/imdarren.com/Packages/temp/./add_settings.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/carrotda/imdarren.com/Sources/Packages.php on line 552

Sarge

Try to chmod Packages and temp (inside Packages) to 755.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

DarrenOMG

Still no. If any support member of smf would like to get an admin/ftp account, PM me.

DarrenOMG

I tried installing various mods, and I even contacted my site's host, and I am still reciving errors.

metallica48423

is there anything related showing up in the webserver's error log?  You might have to ask your host this)
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Ricky.

YOU may see forum error log, its there where I got idea to solve my problem earlier !

zandria

I'm getting an error when I try to install a package, the test is successful, but when i click on install it attempts to download rather than install?   any help please i've searched and searched and can't find a solution to this.

Sarge

Quote from: zandria on November 26, 2007, 07:34:52 PM
I'm getting an error when I try to install a package, the test is successful, but when i click on install it attempts to download rather than install?

If it is index.php, this can be an issue with your host. Does it happen in other areas of your forum?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Ricky.

may be something with mod_security ..

add following .htaccess

<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>


But, its just a wild guess .. though not really confirmed if its mod_security

Advertisement: