From: Paul C. P. <ph...@pa...> - 2011-01-16 23:42:16
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> I am using Squirrelmail 1.4.9 on a shared server.<br> I have previously installed and patched the compatibility plugin<br> compatibility-2.0.16-1.0.tar.gz with no problems<br> <br> I am now trying to do the same for a different domain on the same server but getting problems<br> When patching I get<br> <span class="mediumtext">patching file ../../functions/strings.php<br> Hunk #1 FAILED at 32.<br> 1 out of 1 hunk FAILED -- saving rejects to file ../../functions/strings.php.rej<br> <br> The contents of the reject file is shown below<br> <br> ***************<br> *** 32,37 ****<br> * For that reason, bring in global.php AFTER we define the version strings.<br> */<br> require_once(SM_PATH . 'functions/global.php');<br> <br> /**<br> * Wraps text at $wrap characters<br> --- 32,38 ----<br> * For that reason, bring in global.php AFTER we define the version strings.<br> */<br> require_once(SM_PATH . 'functions/global.php');<br> + include_once(SM_PATH . 'plugins/compatibility/functions.php');<br> <br> /**<br> * Wraps text at $wrap characters<br> <br> Any pointers please as to what is going wrong this time?<br> <br> Thanks,<br> <br> Paul<br> </span> <div class="moz-signature">-- <br> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; "> <title>Paul Cobb Photography</title> <p><font face="Calibri"><font color="#000099"></font><font color="#000099"><i><br> </i></font></font></p> </div> </body> </html> |
From: Paul L. <pa...@sq...> - 2011-01-17 00:11:13
|
2011/1/16 Paul Cobb Photography <ph...@pa...>: > I am using Squirrelmail 1.4.9 on a shared server. 1.4.9a? Please be very specific. Is there some reason you don't upgrade? You are running software with several published security issues that was released in 2006. > I have previously installed and patched the compatibility plugin > compatibility-2.0.16-1.0.tar.gz with no problems > > I am now trying to do the same for a different domain on the same server FYI, you can serve email for more than one domain with the same installation if you use the Login Manager plugin. > but > getting problems > When patching I get > patching file ../../functions/strings.php > Hunk #1 FAILED at 32. > 1 out of 1 hunk FAILED -- saving rejects to file > ../../functions/strings.php.rej Please show the patch command you are using, and how you installed the SquirrelMail source code you are trying to patch (as well as what version it is as well as what version of Compatibility you are patching from). You also need to explain if you made any changes to that source, even if you consider them to be minor. You can always patch by hand by looking at the patch file and removing lines that start with a minus and adding lines that start with a plus. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |
From: Paul C. P. <ph...@pa...> - 2011-01-17 00:27:57
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Paul Lesniewski wrote: <blockquote cite="mid:AAN...@ma..." type="cite"> <pre wrap="">2011/1/16 Paul Cobb Photography <a class="moz-txt-link-rfc2396E" href="mailto:ph...@pa..."><ph...@pa...></a>: </pre> <blockquote type="cite"> <pre wrap="">I am using Squirrelmail 1.4.9 on a shared server. </pre> </blockquote> <pre wrap=""><!----> 1.4.9a? Please be very specific. Is there some reason you don't upgrade? You are running software with several published security issues that was released in 2006. </pre> <blockquote type="cite"> <pre wrap="">I have previously installed and patched the compatibility plugin compatibility-2.0.16-1.0.tar.gz with no problems I am now trying to do the same for a different domain on the same server </pre> </blockquote> <pre wrap=""><!----> FYI, you can serve email for more than one domain with the same installation if you use the Login Manager plugin. </pre> <blockquote type="cite"> <pre wrap="">but getting problems When patching I get patching file ../../functions/strings.php Hunk #1 FAILED at 32. 1 out of 1 hunk FAILED -- saving rejects to file ../../functions/strings.php.rej </pre> </blockquote> <pre wrap=""><!----> Please show the patch command you are using, and how you installed the SquirrelMail source code you are trying to patch (as well as what version it is as well as what version of Compatibility you are patching from). You also need to explain if you made any changes to that source, even if you consider them to be minor. You can always patch by hand by looking at the patch file and removing lines that start with a minus and adding lines that start with a plus. </pre> </blockquote> <br> Yes as you suggest Version 1.4.9a<br> <br> This is not my server and I don't have root access to enable upgrading the SM version<br> <br> I'm not exactly sure how it works but using chroot <span class="highlight">jail</span> for its shared environment so I am told I need to have a separate instance running for each domain I host.<br> <br> I have supplied the documentation from the install instructions for the Compatibility plugin - obviously I'm not 100% sure what the server admins are typing but they tell me that they are following 'your' instructions.<br> Extract from documents follows<br> <br> 1) Untar the file into the plugins directory. <br> <br> $ cd plugins<br> $ tar -zxvf compatibility-2.0.16-1.0.tar.gz<br> <br> 2) If you use SquirrelMail version 1.5.1 or greater or SquirrelMail<br> version 1.4.13 or greater, skip to step 4.<br> <br> 3) Patch your SquirrelMail source code - a new plugin hook<br> is necessary for this plugin, and it can easily be added<br> to most SquirrelMail versions. Make sure you use the<br> patch file that pertains to your version of SquirrelMail.<br> The patch command can be run from the compatibility plugin <br> directory:<br> <br> $ patch -p0 < patches/compatibility_patch-1.4.9.diff<br> <br> I have changed the version numbers so that there was no confusion<br> <br> <br> This is a new install so no previous versions of the plugins or the source code<br> <br> Thanks<br> <br> Paul<br> <br> <br> </body> </html> |
From: Paul L. <pa...@sq...> - 2011-01-17 01:03:24
|
Please don't bottom-post and post ONLY in plain text. Also, only reply to the list. The mailing list posting guidelines explain the correct way to reply on this list - please review that document before replying again (as you were asked to when you subscribed to this mailing list). 2011/1/16 Paul Cobb Photography <ph...@pa...>: > Paul Lesniewski wrote: > > 2011/1/16 Paul Cobb Photography <ph...@pa...>: > > > I am using Squirrelmail 1.4.9 on a shared server. > > > 1.4.9a? Please be very specific. > > Is there some reason you don't upgrade? You are running software with > several published security issues that was released in 2006. > > > > I have previously installed and patched the compatibility plugin > compatibility-2.0.16-1.0.tar.gz with no problems > > I am now trying to do the same for a different domain on the same server > > > FYI, you can serve email for more than one domain with the same > installation if you use the Login Manager plugin. > > > > but > getting problems > When patching I get > patching file ../../functions/strings.php > Hunk #1 FAILED at 32. > 1 out of 1 hunk FAILED -- saving rejects to file > ../../functions/strings.php.rej > > > Please show the patch command you are using, and how you installed the > SquirrelMail source code you are trying to patch (as well as what > version it is as well as what version of Compatibility you are > patching from). You also need to explain if you made any changes to > that source, even if you consider them to be minor. > > You can always patch by hand by looking at the patch file and removing > lines that start with a minus and adding lines that start with a plus. > > > > Yes as you suggest Version 1.4.9a > > This is not my server and I don't have root access to enable upgrading the > SM version You don't need root level access to install SquirrelMail. There is documentation on the SquirrelMail website specifically intended for shared server environments. > I'm not exactly sure how it works but using chroot jail for its shared > environment so I am told I need to have a separate instance running for > each domain I host. There are a few ways to host SquirrelMail for two domains. Symlinks, web server redirects, DNS records, local redirects in a PHP file, etc. In any case, your logic doesn't make sense -- if you are installing what I guess is a copy (you still have not clarified this, and you really need to) of your current SquirrelMail version for a different domain, then how is it that you claim you don't have permission to install any other version? > I have supplied the documentation from the install instructions for the > Compatibility plugin Why? We know what those are. It'd be a lot better if you could answer the questions that were asked of you. > - obviously I'm not 100% sure what the server admins > are typing but they tell me that they are following 'your' instructions. If "they" are the ones installing SquirrelMail for you and are having problems, then two things: 1) They should be the ones asking for help, since they can explain exactly what is going on 2) You should really find a new hosting service. If your service provider can't provide you with up-to-date software and enough competence to do something as simple as execute a patch command and debug any problems with it, then I'd be concerned that the more critical systems they provide for you might be of questionable quality. > Extract from documents follows > > 1) Untar the file into the plugins directory. > > $ cd plugins > $ tar -zxvf compatibility-2.0.16-1.0.tar.gz > > 2) If you use SquirrelMail version 1.5.1 or greater or SquirrelMail > version 1.4.13 or greater, skip to step 4. > > 3) Patch your SquirrelMail source code - a new plugin hook > is necessary for this plugin, and it can easily be added > to most SquirrelMail versions. Make sure you use the > patch file that pertains to your version of SquirrelMail. > The patch command can be run from the compatibility plugin > directory: > > $ patch -p0 < patches/compatibility_patch-1.4.9.diff > > I have changed the version numbers so that there was no confusion You haven't provided information about the versions as I have asked. Please answer my questions without pasting instructions that are public knowledge. Better yet, tell your provider to ask for help if they can't get the patch to work. > This is a new install so no previous versions of the plugins or the source > code -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |