Codoforum related discussions
update database

@adesh1414127033 is there a script I can run to update the database or can it be done when you upload 3.51 to codologic???

@adesh1414127033 is there a script I can run to update the database or can it be done when you upload 3.51 to codologic???

Given up on Codoforum :(

You can redo the upgrade by reverting the version from codo_config table and upgrade again

You can redo the upgrade by reverting the version from codo_config table and upgrade again

@adesh1414127033 in codo_config table it already says version 3.4 even though I have 3.5 installed

When I start upgrade process it says

1.0> Checking for latest version
1.1> Connecting to server: codoforum.com ...
####: Initiating cURL request
  Error: 35: SSL connect error
@adesh1414127033 in codo_config table it already says version 3.4 even though I have 3.5 installed When I start upgrade process it says ```` 1.0> Checking for latest version 1.1> Connecting to server: codoforum.com ... ####: Initiating cURL request Error: 35: SSL connect error ````

Given up on Codoforum :(

Try this:

Open admin/modules/system/upgrades.php

Replace

$curl->setOpt(CURLOPT_SSL_VERIFYPEER, false);

with

$curl->setOpt(CURLOPT_SSL_VERIFYPEER, false);
$curl->setopt(CURLOPT_SSLVERSION , 3);
`
Try this: Open admin/modules/system/upgrades.php Replace ``` $curl->setOpt(CURLOPT_SSL_VERIFYPEER, false); ``` with ``` $curl->setOpt(CURLOPT_SSL_VERIFYPEER, false); $curl->setopt(CURLOPT_SSLVERSION , 3); ````

@adesh1414127033

1.0> Checking for latest version
1.1> Connecting to server: codoforum.com ...
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/sites/getpregnantforfree.co.uk/public_html/admin/modules/system/upgrade.php on line 214

got this smile

@adesh1414127033 ```` 1.0> Checking for latest version 1.1> Connecting to server: codoforum.com ... Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/sites/getpregnantforfree.co.uk/public_html/admin/modules/system/upgrade.php on line 214 ```` got this :(

Given up on Codoforum :(

My mistake, It is

$curl->setOpt(CURLOPT_SSLVERSION , 3);

That O is capital

My mistake, It is $curl->setOpt(CURLOPT_SSLVERSION , 3); That O is capital

@adesh1414127033

same error with

$curl->setOpt(CURLOPT_SSL_VERIFYPEER, false);
$curl->setOpt(CURLOPT_SSLVERSION , 3);

1.0> Checking for latest version
1.1> Connecting to server: codoforum.com ...

: Initiating cURL request

Error: 35: SSL connect error

@adesh1414127033 same error with ```` $curl->setOpt(CURLOPT_SSL_VERIFYPEER, false); $curl->setOpt(CURLOPT_SSLVERSION , 3); ```` 1.0> Checking for latest version 1.1> Connecting to server: codoforum.com ... ####: Initiating cURL request Error: 35: SSL connect error

Given up on Codoforum :(

edited Mar 6 '16 at 6:09 pm

@adesh1414127033 I host with Heart Internet, php Curl module is enabled but I think they block outbound http loopback connections like many hosts...

@adesh1414127033 I host with Heart Internet, php Curl module is enabled but I think they block outbound http loopback connections like many hosts...

Given up on Codoforum :(

If you want, we can tell you how to upgrade codoforum manually without using the upgrade option.

If you want, we can tell you how to upgrade codoforum manually without using the upgrade option.

@adesh1414127033

Is it possible to public the guide to upgrade codo forum manually? Sorry but I have a lot of customized code for my forum (due to Vietnamese language support and SEO optimize). smile

By the way, when upgrading from codoforum 3.3.1 to 3.5 automatically, I had an error in codoforum.v.3.5.build-15\install\upgrade\3.5.php. smile

The function col_exists is duplicated. It was decleared in codoforum.v.3.5.build-15\install\upgrade\3.4.php . I have to remove it out of the codoforum.v.3.5.build-15\install\upgrade\3.5.php to make the upgrading works.

@adesh1414127033 Is it possible to public the guide to upgrade codo forum manually? Sorry but I have a lot of customized code for my forum (due to Vietnamese language support and SEO optimize). (doh) By the way, when upgrading from codoforum 3.3.1 to 3.5 automatically, I had an error in ```codoforum.v.3.5.build-15\install\upgrade\3.5.php```. ;( The function ```col_exists``` is duplicated. It was decleared in ```codoforum.v.3.5.build-15\install\upgrade\3.4.php``` . I have to remove it out of the ```codoforum.v.3.5.build-15\install\upgrade\3.5.php``` to make the upgrading works.
NguoiAnPhu.com Powered by Codoforum 4.3 (https://github.com/nguoianphu/codoforums-vietnam).
edited Mar 8 '16 at 4:36 am

I think it will be better to provide a script to upgrade the database manually as you need to load the database classes to run those upgrade files

I think it will be better to provide a script to upgrade the database manually as you need to load the database classes to run those upgrade files

@adesh1414127033 thanks that will be great, look forward to the script. The other option would be to have codologic.com as HTTPS.

@adesh1414127033 thanks that will be great, look forward to the script. The other option would be to have codologic.com as HTTPS.

Given up on Codoforum :(

We will be releasing the new version coming sunday which will have the manual upgrade script, so can you wait for the release ?

We will be releasing the new version coming sunday which will have the manual upgrade script, so can you wait for the release ?
274
15
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft