Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

(SOLVED) Upgrading the paid 2.2.6 to 2.2.7?
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1
  • 2

TOPIC: (SOLVED) Upgrading the paid 2.2.6 to 2.2.7?

(SOLVED) Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4477

Joomla 1.0.12
JoomSEF 2.2.6 (Paid version)
PHP version 5.2.5
Run as CGI?: Don't know where to find any info about that.
Database version: 5.0.41-log
Web Server: Apache/1.3.41 (Unix) PHP/5.2.5 with Suhosin-Patch mod_ssl/2.8.31 OpenSSL/0.9.7e-p1
WebServer to PHP interface: apache

I've seen mentioned that there should be an upgrade function in JoomSEF.
How do I enable that function in the paid v. 2.2.6 ?

v. 2.2.7 should be available now, I think.
But when I go to the JoomSEF Upgrade Manager, it says:

Installed version: 2.2.6
Newest version: ?.?.?


And under "Upgrade From ARTIO Server", it just says: Server not available.

How do I enable it? Or is there an alternative way to update JoomSEF with a patch file?
Because I'm a bit scared that I will loose all my URLs if I uninstall 2.2.6, and make a new install with 2.2.7
Last Edit: 16 years, 4 months ago by TStone.

Re:Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4479

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Maybe the server just wasn't available at the time you tried it.
Another explanation is that your server has fopen_wrappers disabled, therefore JoomSEF cannot read the files on remote servers, but this is unlikely. You can find some information about this at www.php.net/manual/en/filesystem.configu...#ini.allow-url-fopen.

Best regards,
ARTIO Support Team
ARTIO Support Team

Re:Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4484

Maybe the server just wasn't available at the time you tried it.

Oh, no it has never worked. Ever.

Not in any of the free versions either.
I've asked about it, if it was due to a bug or due to something else, but no answers. So I assumed it was crippleware, as it seemed to go hand in hand with the idea of inserting hidden links.
One of the reasons I got the commercial version was that I assumed that then I would get a working update function. Bit of a surprise to find out that the Update in the commersial version didn't work either, and felt a bit tricked, since it seemed unlikely that anyone would care to assist.

A big, but very pleasant surprise to actually get a reply, David! Thank you. I just posted for the sake of it, and was prepared to see my question be ignored and eventually buried as usual. Are you checking these forums regularly now, or was I just lucky?

I will check out the link you kindly provided. maybe the answer is there? :)

-Tom
Last Edit: 16 years, 4 months ago by TStone.

Re:Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4485

Another explanation is that your server has fopen_wrappers disabled


I guess you found the problem, David. In phpinfo(), I found:

Configuration
PHP Core
allow_url_fopen Local value: off Master value: off

Is there anything I can do about it, or is it just to accept that isn't working?

-Tom

Re:Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4486

I went through the FAQ at the server host, and found that they had disabled allow_url_fopen due to security reasons. Instead they adviced that the cURL Library should be used instead.

Does that info help?

Re:Upgrading the paid 2.2.6 to 2.2.7? 16 years, 4 months ago #4487

Alright, I got it to work now, after a bit of hacking in the blind :)
This is what needed to be done.

In Administrator - Components - com_sef - admin.sef.html.php :

Find the line:
$versions = @file_get_contents($sefConfig->serverNewVersionURL);

and comment it out by adding two slashes // before it .
Then, add, at that place, the following:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $sefConfig->serverNewVersionURL);
$versions = curl_exec($ch);
curl_close($ch);
 


Save and upload. Then find the next file:
Administrator - Components - com_sef - installer - upgrade.php :
Find the line
$upgradeFile = @file_get_contents($sefConfig->serverUpgradeURL);

and comment it out by adding two slashes // before it .
Then, add, at that place, the following:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $sefConfig->serverUpgradeURL);
$upgradeFile = curl_exec($ch);
curl_close($ch);
 


Then, two lines further down, you'll find:
$upgradeFile = @file_get_contents(dirname($sefConfig->serverUpgradeURL).'/'.$extension.'.zip');

Comment it out by adding two slashes // before it .
Then, add, at that place, the following:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, dirname($sefConfig->serverUpgradeURL).'/'.$extension.'.zip');
$upgradeFile = curl_exec($ch);
curl_close($ch);
 


Save and upload. Done. The automatic upgrade works! Wow!
  • Page:
  • 1
  • 2
User Login Empty