Osclass forums

Support forums => old => Topic started by: _CONEJO on December 19, 2012, 11:29:43 am

Title: Upgrade problems? post here
Post by: _CONEJO on December 19, 2012, 11:29:43 am
Possible upgrade troubles and how to fix it.

Unzip failed

Posible reasons :

    
 
Parse error: syntax error, unexpected ':' …    in LogDatabase
   

 
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM … in Object_Cache_Factory.php
      


Auto-upgrade - fails on 3.3.X
   
Title: I broke it, with the help of that upgrade.
Post by: aledia on August 04, 2014, 10:35:09 pm
This is what I see when I try to go to my site and to the admin area.

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/myserver/public_html/mydomain.net/oc-includes/osclass/core/Object_Cache_Factory.php on line 28


And your stupid captcha is driving me batty!
Title: Re: I broke it, with the help of that upgrade.
Post by: aledia on August 04, 2014, 10:53:12 pm
Here is the actual code. I copied from my file manager in cPanel.


<?php
class Object_Cache_Factory {

    private static $instance = null;

    public static function newInstance()
    {
        if( self::$instance == null ) {
            self::$instance = self::getCache();
        }
        return self::$instance;
    }

    public static function getCache() {
        if(self::$instance == null) {
            $cache = 'default';
            if( defined('OSC_CACHE') ) {
                $cache = OSC_CACHE;
            }

            $cache_class = 'Object_Cache_'.$cache;
            $file = dirname(__FILE__) . '/caches/' . $cache_class. '.php';

            if(strpos($file, '../')===false && file_exists($file)) {
                require_once $file;
                if(class_exists($cache_class)) {
                    // all correct ?
                    if($cache_class::is_supported()) {
                        self::$instance = new $cache_class();
                    } else {
                        $file = dirname(__FILE__) . '/caches/Object_Cache_default.php';
                        require_once $file;
                        self::$instance = new Object_Cache_default();
                        error_log('Cache '. $cache .' NOT SUPPORTED - loaded Object_Cache_default cache');
                    }
                    return self::$instance;
                }
            }
            throw new Exception('Unkwon cache');
        } else {
            return self::$instance;
        }
    }
}

Title: Re: I broke it, with the help of that upgrade.
Post by: dev101 on August 04, 2014, 11:40:36 pm
Hi aledia,

please provide to Osclass dev team what PHP version are you running. Also, php.ini settings may help in this case.
Regarding captcha, it is necessary to prevent forum spam. Once you gain enough points, you will stop seeing it.
Btw, there is no need to copy code from the core, devs know about it since they created it in the first place :)

Regards
Title: Re: I broke it, with the help of that upgrade.
Post by: Aficionado on August 04, 2014, 11:44:34 pm
Hi aledia,

please provide to Osclass dev team what PHP version are you running. Also, php.ini settings may help in this case.
Regarding captcha, it is necessary to prevent forum spam. Once you gain enough points, you will stop seeing it.
Btw, there is no need to copy code from the core, devs know about it since they created it in the first place :)

Regards

I think there SHOULD be a STICKY post in all Help forums, instructing the users with problems what exactly to post. All the info needed.


Title: Re: I broke it, with the help of that upgrade.
Post by: dev101 on August 05, 2014, 12:00:52 am
Btw, possibly, it is either about old PHP version (say 5.2) or double-column operator :: inappropriate use.

Garcia will check it, hopefully.
Regards
Title: We failed trying to upgrade your site to Osclass 3.4.0
Post by: Hello on August 05, 2014, 12:40:03 am
We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

If you experience any issues or need support, we will be happy to help you at the Osclass support forums

http://forums.osclass.org/ (http://forums.osclass.org/)

The Osclass team
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0
Post by: Aficionado on August 05, 2014, 12:42:18 am
We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

If you experience any issues or need support, we will be happy to help you at the Osclass support forums

http://forums.osclass.org/ (http://forums.osclass.org/)

The Osclass team

There is an extra / in the rar and apparently this is a problem for some people.

Title: Re: We failed trying to upgrade your site to Osclass 3.4.0
Post by: Hello on August 05, 2014, 12:42:51 am
now what i do ?
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0
Post by: Aficionado on August 05, 2014, 12:48:11 am
now what i do ?

Wait a little bit, it will be fixed. Or do it manually (ftp).

Allways backup 1st.
Title: Re: I broke it, with the help of that upgrade.
Post by: garciademarina on August 05, 2014, 01:10:30 am
Hi aledia,

Seems to be that this syntax is not present until php 5.3.

Try to make this change at oc-includes/osclass/core/Object_Cache_Factory.php#L28

if($cache_class::is_supported()) {

to

if( call_user_func(array($cache_class, 'is_supported')) ) {

We will fix it in the next version.

Sorry for the inconvenience.

Regards
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0
Post by: garciademarina on August 05, 2014, 01:21:45 am
Hi

the image attached tells you that you are at 3.4.

Code: [Select]
Current version 3.4
You can check in your homepage html code if in content generator tag there is this tag

<meta name="generator" content="Osclass 3.4.0" />

Regards
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0
Post by: Hello on August 05, 2014, 01:23:39 am
yes its


<meta name="generator" content="Osclass 3.4.0" />


thanks for the help :)
Title: Stuck in Maintenance Mode
Post by: chewyluke on August 05, 2014, 04:42:43 am
Version 3.4 tried upgrading and failed. My site is stuck in maintenance mode. Where can I fix this?

Thanks
Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 05:17:48 am
Login into admin and disable it in settings.

Another way, login via FTP and delete hidden .maintenance file in the root of Osclass (where your config.php file is).

That should fix it, then login as admin and disable maintenance mode in settings (if it is still enabled, but it shouldn't).
Title: totally ruined the upgrade.
Post by: keerthi on August 05, 2014, 08:49:17 am
I tried auto-upgrading to osclass 3.4 without disabling permalinks, and without putting the site into maintanece mode.

After auto-upgrade it gave error in logdatabase.php in oc-includes.  I even tried replacing the files which gives up warnings during extraction. after extraction it gave internal server error.

I do have a backup of oc-content and mysql.

what should I do now?

My site is sellrbuyr.in.
Title: We failed trying to upgrade your site to Osclass 3.4.0 ???? new message
Post by: kweku on August 05, 2014, 09:45:18 am
I found out that my website turn into maintenance mode automatically. and this was the message i got;



We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

If you experience any issues or need support, we will be happy to help you at the Osclass support forums
Title: Re: Stuck in Maintenance Mode
Post by: _CONEJO on August 05, 2014, 10:16:34 am
Admin panel > tools > maintenance mode and disable it, or go to the root folder of your website and remove ".maintenance" file (has a dot "." before the name and could be invisible to some FTP clients)

If your installation is at maintenance mode is because the upgrade failed at some point and you need to check that everything is ok now.
Please try to upgrade again, if the error continue, I suggest you to upgrade manually : http://doc.osclass.org/Updating_Osclass (http://doc.osclass.org/Updating_Osclass)

From which version were you upgrading from ?
Title: Re: totally ruined the upgrade.
Post by: _CONEJO on August 05, 2014, 10:34:32 am
Please try manual updating http://doc.osclass.org/Updating_Osclass (http://doc.osclass.org/Updating_Osclass)
Title: Upgrade issue resolved by restoring earlier version.
Post by: ozclix on August 05, 2014, 10:37:07 am
Hi all, I have been a little quiet lately.

I did type the below post in another thread but saw that any issues should be reported here so I have repeated it below:

I went to log into my admin panel and was surprised that I got an error message come up...something along the lines of Sparse Error, unexpected ( : ) and a synax error on line 140 on one of the log files ( sorry I should have copy and pasted it somewhere but panicked when I realised my main site also brought up the same error).

I was however able to access Ozclass via Instaltron who supplied ozclass via my provider and saw that it had automatically updated to version 3.4.  Figuring that the error must have come from the upgrade I threw back to a back up (because we all do that don't we ;) ) from pre 3.4 update and it now works again. 

I know I am not much help with the error for the transition to 3.4 as I didn't copy it but if it does help I am using the original bender theme with minimal add-ons.  My update settings are set to automatically update minor bugs and fixes but didn't expect a major update. 

Anyway, thanks everyone for their hard work and maybe I will be able to update at a later time or something without any issues popping up.

Jay
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0 ???? new message
Post by: garciademarina on August 05, 2014, 01:19:58 pm
Hi there,

What version are you trying to upgrade?

Regards
Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 03:10:24 pm
I can verify this, my installations also went into maintenance mode for no reason.

It seems to be a problem with automatic updates.

Quote
Dear dev admin,

We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

If you experience any issues or need support, we will be happy to help you at the Osclass support forums

http://forums.osclass.org/ (http://forums.osclass.org/)

The Osclass team

I was trying to go from 3.3.2 to 3.4.

In my setup everything is in order, a full 3.3.2 working website, all permissions are intact. So this is a problem of Osclass. And i did update several Osclass versions before, so this is new.
Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 03:23:39 pm
It seems that 3.4 was downloaded (in downloads) but nothing else happened.

So i deleted the file, disabled Maintenance Mode, disabled Automatic Updates of any kind, and i selected Upgrade. The upgrade worked right and after a while it finished and everything seems ok.

I still see "3.4.0 is available" on the top of the dashboard for some reason.

Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 03:24:46 pm
I think Conejo made a plugin for updating to 340 from 332, can't remember the link but its on front page somewhere.
Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 03:27:16 pm
Also my debug.log seems busy, are all those normal ?

Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 03:36:41 pm
database upgrade, unless you see some errors, nothing to be alarmed of.
Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 03:39:18 pm
database upgrade, unless you see some errors, nothing to be alarmed of.

You mean for example:

[05-Aug-2014 13:21:31 Europe/Madrid]  --- dt_expiration datetime NOT NULL DEFAULT '9999-12-31 23:59:59'

is normal ?

Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 03:41:33 pm
Yes, SQL statement from struct.sql file.
Title: Help! Site is down!
Post by: RBlack963 on August 05, 2014, 03:49:37 pm
I have OSCLass set to automatically update to newer versions.  I woke up today to find that my site is down for maintenance.  I have an email saying:

We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

How do I fix this please!

Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 03:57:03 pm
Yes, SQL statement from struct.sql file.

Thanks.

Any ideas why i still see the Update available 3.4 on my top of my admin dashboard ? It should be like that ?
Title: Re: Help! Site is down!
Post by: Aficionado on August 05, 2014, 03:58:14 pm
I have OSCLass set to automatically update to newer versions.  I woke up today to find that my site is down for maintenance.  I have an email saying:

We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

How do I fix this please!

Disable Maintenance, Disable Automatic Updates.

See if everything is ok.

If you want, select Admin/Tools/Upgrade, for 3.4
Title: Re: Help! Site is down!
Post by: Heartcore on August 05, 2014, 04:05:43 pm
I have OSCLass set to automatically update to newer versions.  I woke up today to find that my site is down for maintenance.  I have an email saying:

We failed trying to upgrade your site to Osclass 3.4.0. Heres is the error message: Unzip failed

How do I fix this please!

Disable Maintenance, Disable Automatic Updates.

See if everything is ok.

If you want, select Admin/Tools/Upgrade, for 3.4


how to disable automatic update?
Title: Re: Help! Site is down!
Post by: Aficionado on August 05, 2014, 04:07:40 pm


how to disable automatic update?

Settings, General.

Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 04:22:22 pm
It is tied to cron job settings, few months ago I brought that issue and Conejo said it will be addressed. In max a day or 7 days that notification should dissaperar.
Title: Re: Stuck in Maintenance Mode
Post by: _CONEJO on August 05, 2014, 04:25:00 pm
Yes, SQL statement from struct.sql file.

Thanks.

Any ideas why i still see the Update available 3.4 on my top of my admin dashboard ? It should be like that ?


Automatic update use the SAME function as user-started update, so if one fails, the other should too.
It could fail for several reasons, most common mistake is that files have wrong permissions (are not writable).

3.3.x versions are missing a folder (oc-content/download/oc-temp), this doesn't happen on 3.2.x or previous version. To fix that, the update process is a bit different this time, and automatic update will not work (manual or launched from the admin will do).

Additionally, now, in 3.4.x the maintenance mode will be disable if the update failed AND we didn't replace a file or the unzip failed. Maintenance mode will only be enable if we replace "some" files or there's some big error and osclass wasn't able to fix it. This will only happen from 3.4 to future versions (as we can not fix already deployed versions!)


the version available will be fixed in future releases, but it should disappear in a 24h period, when the cron job re-check the version
Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 04:26:40 pm
here is the upgrade fix plugin for <333

http://market.osclass.org/plugins/3-3-x-upgrade-fix_97 (http://market.osclass.org/plugins/3-3-x-upgrade-fix_97)
Title: Re: Stuck in Maintenance Mode
Post by: _CONEJO on August 05, 2014, 04:28:37 pm
here is the upgrade fix plugin for <333

http://market.osclass.org/plugins/3-3-x-upgrade-fix_97 (http://market.osclass.org/plugins/3-3-x-upgrade-fix_97)

I strongly suggest to NOT use that plugin directly and proceed with the upgrade at the admin as usual
Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 04:31:22 pm
Hi Conejo,

I thought that plugin was recently added or is it not? Never seen it before, honestly. Also, haven't tried it personally.

Regarding notification after update, maybe cron can be triggered after successful upgrade process, so the users don't get confused.

Regards
Title: Re: Stuck in Maintenance Mode
Post by: _CONEJO on August 05, 2014, 04:37:33 pm
Hi Conejo,

I thought that plugin was recently added or is it not? Never seen it before, honestly. Also, haven't tried it personally.

Regarding notification after update, maybe cron can be triggered after successful upgrade process, so the users don't get confused.

Regards

Yes, we realize the problem with the update notification when it was too late to fix it and will be addressed in 3.4.1.

The plugin was added recently, but it's not intended to people to use it like that.
As I said, versions 3.3.x have a missing folder (oc-temp), for us there's no way to create a folder in an existing installation of osclass. So what we did, was to trick the update process to download said plugin, install it (triggering a hook that will create the folder and update osclass) and then uninstalling the plugin. You could do the process manually, download, install and uninstall it, but it could cause some confussion since uninstalling it will also remove the plugin itself and there's no nice message to tell the admin that the upgrade was completed or failed.
Title: Re: Help! Site is down!
Post by: RBlack963 on August 05, 2014, 04:53:39 pm
Disable Maintenance, Disable Automatic Updates.

See if everything is ok.

If you want, select Admin/Tools/Upgrade, for 3.4

Ok... I did all that.  Turning off Maintenance mode made the site come back but it still won't upgrade: Unzip Failed.
Title: Re: Stuck in Maintenance Mode
Post by: dev101 on August 05, 2014, 04:54:52 pm
Ah, now it makes it more clear what is it for. I think you should copy-paste the above explanation into market, since I thought it was a 'mandatory' add-on for anyone willing to do a proper upgrade.

Regards
Title: Re: We failed trying to upgrade your site to Osclass 3.4.0 ???? new message
Post by: kweku on August 05, 2014, 05:08:13 pm
Well, I am on Osclass 3.3.2 

But, I have set them to enable upgrade so, i just saw the information in my email that. It couldn't. 
Title: Re: Help! Site is down!
Post by: _CONEJO on August 05, 2014, 05:35:16 pm
Disable Maintenance, Disable Automatic Updates.

See if everything is ok.

If you want, select Admin/Tools/Upgrade, for 3.4

Ok... I did all that.  Turning off Maintenance mode made the site come back but it still won't upgrade: Unzip Failed.

It should work, if not, please, upgrade manually http://doc.osclass.org/Updating_Osclass (http://doc.osclass.org/Updating_Osclass)
Title: Re: Help! Site is down!
Post by: RBlack963 on August 05, 2014, 05:46:51 pm
Quote
It should work, if not, please, upgrade manually http://doc.osclass.org/Updating_Osclass (http://doc.osclass.org/Updating_Osclass)

It doesn't.

I have to say... this is really, REALLY not good.  This left my site suspended in a maintenance mode so it was completely unusable by anyone.

If you're going to have auto upgrades you should at least check and make sure it is going to work before throwing it out there.

I've turned off all future auto upgrades.
Title: Re: Stuck in Maintenance Mode
Post by: Aficionado on August 05, 2014, 06:08:49 pm


Automatic update use the SAME function as user-started update, so if one fails, the other should too.
It could fail for several reasons, most common mistake is that files have wrong permissions (are not writable).



Well not for me. The "automatic" failed, but the Tools/Upgrade worked well.

Or it didn't ? I wonder.

Title: Re: Help! Site is down!
Post by: Aficionado on August 05, 2014, 06:35:41 pm

I have to say... this is really, REALLY not good.  This left my site suspended in a maintenance mode so it was completely unusable by anyone.

If you're going to have auto upgrades you should at least check and make sure it is going to work before throwing it out there.

I've turned off all future auto upgrades.

Maybe AutoUpdate should be Disabled by default.

Title: 3.4 NEEDS VERSION PHP 5.3!!!
Post by: vanmicky on August 05, 2014, 10:03:42 pm
Hello,

i tried to install osclass 3.4, a clean install i got this error see below. I got the same error by upgrading from 3.3.2 with the fix update plugin.

Parse error: syntax error, unexpected ':' in /homepages/32/d426792885/htdocs/musicabet/oc-includes/osclass/Logger/LogDatabase.php on line 140.

s426792905.onlinehome.fr/

If you have some solution it will be great. Thank you!

Vanmicky!
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: design on August 05, 2014, 10:19:36 pm
http://forums.osclass.org/3-4-x/ (http://forums.osclass.org/3-4-x/)
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: Aficionado on August 05, 2014, 10:29:59 pm
Are you running php 5.2 ?

Also search the forums for that error.
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: vanmicky on August 05, 2014, 10:35:47 pm
yep PHP Version 5.2.17 i'm using 1&1. what can i do now?
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: Aficionado on August 05, 2014, 10:40:58 pm
Well maybe the Developers of Osclass should shed some light here. Does Osclass 3.4 NEED php 5.3 or later to work ?

And if so, a WARNING could be issued by the installation script.
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: 20892089 on August 05, 2014, 11:07:22 pm
Good evening friend!

I also upgraded my website and suffered the same fault.

Now could you solve?

I support but I can not restore it. The error does not allow me to enter the admin section.

Does anyone have a solution?

Thank you very much!
Title: Re: ERROR WHILE INSTALLING Parse error: syntax error, unexpected ':' for os. 3.4
Post by: vanmicky on August 05, 2014, 11:11:13 pm
Delete all the content.

The Solution is the following create an .htacess file at your root directory.

Add the following lines :

AddType x-mapp-php5.4 .php
AddHandler x-mapp-php5.4 .php

Save it.

Begin FTP transfer and install osclass  3.4.


Title: Re: 3.4 NEEDS VERSION PHP 5.3!!!
Post by: _CONEJO on August 06, 2014, 10:32:17 am
We're working on a fix to be release soon

This fix should work : https://github.com/conejoninja/Osclass/commit/63742f8239e03a7d3e9e00d0deb025dc05a45917
Title: Re: Upgrade issue resolved by restoring earlier version.
Post by: _CONEJO on August 06, 2014, 10:33:06 am
Please updata manually : http://doc.osclass.org/Updating_Osclass (http://doc.osclass.org/Updating_Osclass)
Title: Re: I broke it, with the help of that upgrade.
Post by: garciademarina on August 06, 2014, 12:19:27 pm
On Osclass 3.4.1 this issue will be fixed.

Regards
Title: Re: 3.4 NEEDS VERSION PHP 5.3!!!
Post by: garciademarina on August 06, 2014, 12:24:47 pm
Hi there,

Osclass 3.4.1 will fix this issues with php 5.2, sorry for the inconvenience.

https://github.com/osclass/Osclass/commit/5ed7eed45fc576051cde6979c4ea17f856af1c78

and

https://github.com/osclass/Osclass/commit/483703536088a733cc19b368523c99a1e27beea6
Title: Re: Upgrade problems? post here
Post by: Aficionado on August 06, 2014, 04:45:27 pm
I think PHP 5.2 should not be supported, it is dated in 2006, that is 8 years back.

PHP 5.3 is fine.

And Php 5.4 and 5.5 have much better memory management and are a bit faster.
Title: Re: Upgrade problems? post here
Post by: _CONEJO on August 06, 2014, 05:34:07 pm
I think PHP 5.2 should not be supported, it is dated in 2006, that is 8 years back.

PHP 5.3 is fine.

And Php 5.4 and 5.5 have much better memory management and are a bit faster.

Me too, but the reality is that people are still using it (as you could see here).
This change was easy for us to keep it compatible, but as soon as it appears something more complicated to make it compatible, will be dropping 5.2 compatibility.
Title: FAIL
Post by: RBlack963 on August 06, 2014, 07:49:31 pm
Upgrade

 




Your Osclass installation can be auto-upgraded. Please, back up your database and the folder oc-content before attempting to upgrade your Osclass installation. You can also upgrade Osclass manaully, more information in the Wiki


Checking for updates (Current version 332)New version to update: 341



Upgrade your installation

New version Osclass 3.4.1

Perform backups both for your database and stored files in your installation Tools -> Backup , as they will help you restore your site in case of trouble.

Upgrade

Upgrading your Osclass installation (this could take a while):Unzip failed
Title: Re: FAIL
Post by: _CONEJO on August 06, 2014, 08:23:13 pm
Upgrade

 




Your Osclass installation can be auto-upgraded. Please, back up your database and the folder oc-content before attempting to upgrade your Osclass installation. You can also upgrade Osclass manaully, more information in the Wiki


Checking for updates (Current version 332)New version to update: 341



Upgrade your installation

New version Osclass 3.4.1

Perform backups both for your database and stored files in your installation Tools -> Backup , as they will help you restore your site in case of trouble.

Upgrade

Upgrading your Osclass installation (this could take a while):Unzip failed

Please, read the first page : http://forums.osclass.org/3-4-x/problems-with-update-post-here/msg41372/#msg41372 (http://forums.osclass.org/3-4-x/problems-with-update-post-here/msg41372/#msg41372)
Title: Re: Upgrade problems? post here
Post by: design on August 06, 2014, 09:21:56 pm
reminder notification of 3.4.1 upgrade remains in admin header after upgrade.


and in bender or where ever you changed the url so that the csrf no longer shows in the url. could you please provide those changes so we can update our other themes.
thanks :-)
Title: Re: Upgrade problems? post here
Post by: _CONEJO on August 06, 2014, 09:25:13 pm
reminder notification of 3.4.1 upgrade remains in admin header after upgrade.


and in bender or where ever you changed the url so that the csrf no longer shows in the url. could you please provide those changes so we can update our other themes.
thanks :-)

what do you mean the csrf doesn't show in the URL ? where exactly?
Title: Re: Upgrade problems? post here
Post by: Aficionado on August 06, 2014, 09:25:32 pm
reminder notification of 3.4.1 upgrade remains in admin header after upgrade.


I think it goes away after a CRON or so.
Title: Re: Upgrade problems? post here
Post by: design on August 06, 2014, 10:34:33 pm
in the search. If I search jobs in my theme I get the csrf in the url, in the bender 2.0 I don't see it..
looks normal, like http://xxx.com/update/index.php?page=search&sPattern=jobs (http://xxx.com/update/index.php?page=search&sPattern=jobs)

in my theme it looks like this:
http://xxx.com/update/index.php?page=search&CSRFName=CSRF243780233_1110331465&CSRFToken=2279d0110d1c2beb76b538c027e784a8eda2096810a7833f700e175b02a14cc36283ff3149a5a65c6c6a0829ccac33854632114055db0440a8a13e82fc91211a&sPattern=jobs (http://xxx.com/update/index.php?page=search&CSRFName=CSRF243780233_1110331465&CSRFToken=2279d0110d1c2beb76b538c027e784a8eda2096810a7833f700e175b02a14cc36283ff3149a5a65c6c6a0829ccac33854632114055db0440a8a13e82fc91211a&sPattern=jobs)
Title: Re: Upgrade problems? post here
Post by: vanmicky on August 07, 2014, 12:29:22 am
Thank you for this speed update.
Title: Re: Upgrade problems? post here
Post by: dev101 on August 07, 2014, 01:09:27 am
in the search. If I search jobs in my theme I get the csrf in the url, in the bender 2.0 I don't see it.
Hi design,

that is a theme-related issue, not a core-update one. Also, there is a solution posted recently in the forums ;)

Regards
Title: Re: Upgrade problems? post here
Post by: design on August 07, 2014, 01:39:38 am
^^^ I know it's theme related, but now you say it's in the forums. I will search again. any chance you can give me a hint on a key word that will find it -besides csrf  ::)
Title: Re: Upgrade problems? post here
Post by: dev101 on August 07, 2014, 01:45:35 am
Just check my profile's 'recent' posts ;)
Title: Re: Upgrade problems? post here
Post by: design on August 07, 2014, 02:22:17 am
Thank you _conejo   ;D
Title: Re: Upgrade problems? post here
Post by: krallen on August 07, 2014, 03:04:06 am
https://github.com/osclass/Osclass/archive/master.zip

osclass 3.4.1 no bug , working : https://github.com/osclass/Osclass/archive/master.zip

https://github.com/osclass/Osclass : https://github.com/osclass/Osclass/archive/master.zip
Title: Re: Upgrade problems? post here
Post by: krallen on August 07, 2014, 03:11:40 am
https://github.com/osclass/Osclass/archive/master.zip

osclass 3.4.1 no bug , working : https://github.com/osclass/Osclass/archive/master.zip

https://github.com/osclass/Osclass : https://github.com/osclass/Osclass/archive/master.zip
Modify message
Title: Re: Upgrade problems? post here
Post by: _CONEJO on August 07, 2014, 10:07:52 am
^^^ I know it's theme related, but now you say it's in the forums. I will search again. any chance you can give me a hint on a key word that will find it -besides csrf  ::)

forms need the "nocsrf" class to not post the CSRF in the url, example

Code: [Select]
<form action="<?php echo osc_base_url(true); ?>" method="get" class="nocsrf">
Title: Re: Upgrade problems? post here
Post by: Aficionado on August 07, 2014, 04:29:39 pm
Last night i did two upgrades of real live websites. From 3.3.2 to 3.4.1 using the auto update.

While the update didn't show any errors and finished (and 3.4.1 was on the lower right), the result was a mess. Many files/folders didn't update.

I had to manually upload the files and overwrite.

And please do not suggest to check my permissions.

And i found it out because Osclass after the update told me to upgrade Bender (!).  So i checked and found old files and folders.

upd: We are now restoring 3.3.2 fully, since something is not right and i;m afraid the DB also has some problems after updatings. Not sure but better to be safe.

Title: Re: Upgrade problems? post here
Post by: _CONEJO on August 07, 2014, 05:09:39 pm
Bender will not be updated, many people complained that with core updates bender was also getting updated, so if you update the core, bender theme will not be updated.
Title: Re: Upgrade problems? post here
Post by: Aficionado on August 07, 2014, 07:45:16 pm
Bender will not be updated, many people complained that with core updates bender was also getting updated, so if you update the core, bender theme will not be updated.

I don't get it. The Download of 3.4.1 includes Bender but the build-in update doesn't ?

In any case, seems complicated to me.
Title: Re: Upgrade problems? post here
Post by: Dare on August 12, 2014, 02:46:08 pm
When updating I forgot to turn off permlinks.Now I started a site and permalinks do not work__???
It seems that everiting else is working properly
How to re-enable this feature, Is there a bug or... ???


Resolved, not properly configured fields ;)
Title: Re: Upgrade problems? post here
Post by: xilian on August 13, 2014, 04:44:58 pm
Quite important that themes arent altered/overwritten when upgrading,
so what the team is doing here is the way it should be.

You may not have any custom work done to the theme, but most people do
and they will lose all they're work...

HUGE thumbs-up for new release :)
Title: Re: Upgrade problems? post here
Post by: design on August 13, 2014, 07:24:10 pm
2 of my sites will still not auto update through admin panel. I will need to manually upload :-(  oooo my poor aching fingers  :P
Title: Re: Upgrade problems? post here
Post by: romantica on August 16, 2014, 12:04:16 am
hello, why we can not delete a user in osclass 3.4.1
thank you for help
Title: Re: Upgrade problems? post here
Post by: _CONEJO on August 17, 2014, 10:52:22 pm
hello, why we can not delete a user in osclass 3.4.1
thank you for help

First, that has nothing to do with upgrading Osclass. And second, you already opened a topic for said problem, no need to post here
Title: Re: Upgrade problems? post here
Post by: romantica on August 18, 2014, 12:00:40 am
I know I opened another post and saw that I have no answer here is WHY I am, second I deactivated all plugins and nothing changes, so that c'st well osclass 3.4.1 not going because with 3.3.2 everything was fine
Title: Re: Upgrade problems? post here
Post by: havanablack on August 26, 2014, 09:55:57 pm
Hi, with osclass 3.4.1 i have a problem when i change the language from english to italian... the language of categories is always english. Why? :(
My website is: www.adsmadeinitaly.com (http://www.adsmadeinitaly.com)
Title: Re: Upgrade problems? post here
Post by: xilian on August 27, 2014, 09:53:36 am
@havanablack Try to search for items aswell. I bet you wont find a single hit :)
Change back to english and try again.
Title: Re: Upgrade problems? post here
Post by: havanablack on August 27, 2014, 04:48:55 pm
@xilian... now i see that this problem is only with italian language, if i use another language is all ok!1 :'( why? :(
Title: Re: Upgrade problems? post here
Post by: xilian on August 28, 2014, 12:28:31 pm
There's a bug. If you dont use the standard langauge, search stops working...
Title: Re: Upgrade problems? post here
Post by: havanablack on August 28, 2014, 02:28:02 pm
@xilian thanks for your support. Is best if i wait for the resolution of this bug, or is best if i reinstall osclass?
Title: Re: Upgrade problems? post here
Post by: xilian on August 28, 2014, 04:55:05 pm
re-install wont fix a thing. OSC-dudes have to fix the bug (wich has been around for quite some time... Even the prior release)

So stay with default 'til its fixed. I have to do that aswell...
Title: Re: Upgrade problems? post here
Post by: havanablack on August 28, 2014, 05:49:36 pm
Thanks @xillian, i will wait the resolution of this bug. Thank u ;)
Title: Re: Upgrade problems? post here
Post by: pggco on October 09, 2014, 10:14:23 pm
how can i Disable Auto Upgrade Osclass ?

bicuse i make custom code for API in Osclass, and when Upgrade osclass, my codes has been Replaced...

Title: Re: Upgrade problems? post here
Post by: dev101 on October 09, 2014, 10:22:44 pm
http://forums.osclass.org/3-3-x/how-to-stop-the-osclass-script-automatically-update/ (http://forums.osclass.org/3-3-x/how-to-stop-the-osclass-script-automatically-update/)
Title: Re: Upgrade problems? post here
Post by: maakuone on October 11, 2014, 07:10:45 am
just wanna know which version is the latest? I installed 3.3.x and saw in control panel that there's a newer version so clicked it and update. first search doesn't return a result. I tried adding a new ad and i can search this item fine. Did the update messed the files? thanks

Oh and I cannot see the 3.4.3 release tag in github.
Title: Re: Upgrade problems? post here
Post by: dev101 on October 11, 2014, 01:24:10 pm
Here is always the latest, if you are ever in doubt:

Quote
http://osclass.org/page/download (http://osclass.org/page/download)
Title: Re: Upgrade problems? post here
Post by: Adyyda on January 23, 2016, 06:19:04 pm
Upgrade to 3.6 is available via admin or not?
In demo osclass i see 3.6 but in 3 different installs (one domain and 2 subdomains) i get Checking for updates (Current version 359) Congratulations! Your Osclass installation is up to date!
Title: Re: Upgrade problems? post here
Post by: dev101 on January 23, 2016, 06:32:15 pm
It's not official yet, I guess it will be available on Monday.