Osclass forums

Support forums => Installation / Update help => Topic started by: nijamutheen on July 09, 2017, 09:20:16 pm

Title: Osclass 3 installation Errors
Post by: nijamutheen on July 09, 2017, 09:20:16 pm
hi me also faced this issues I changed​ all thing what you told like permission and mysqli php extension but it wasn't​ affect anything after I contacted my hosting they told me following

Let me inform you that I have tried to install Osclass  few times, but unfortunately it was without success.
Every time installation stopped before step 2 (Target) and did nothing.
I tried to change PHP version, few settings in php.ini but nothing changed.
As I see the installation script has access to mysql and it created all tables. (I created database and  database user manually in Cpanel. You may found db name, db usrname and password in config.php file)
Also file and folder permissions in public_html are good.

It looks like you need to contact some advanced specialist in Osclass to finish its installation.
Thank you for understanding
Title: Re: Osclass 3 installation Errors
Post by: nijamutheen on July 09, 2017, 09:34:39 pm
After that my host company fixed that also they are replied
Looks like I've managed to set it up for you. Mbstring PHP module was missing. Please, tell osclass team to update their requirements during installation, because there not a single word about mbstring no error appears.
Title: Re: Osclass 3 installation Errors
Post by: Liath on July 10, 2017, 10:11:19 am
thx for this information
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 10, 2017, 11:01:53 am
After that my host company fixed that also they are replied
Looks like I've managed to set it up for you. Mbstring PHP module was missing. Please, tell osclass team to update their requirements during installation, because there not a single word about mbstring no error appears.

Why mbstring module was missing ? ItShouldn't, it is included and enabled by default usually.

Is that a shared hoisting plan ?
Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 10, 2017, 04:09:46 pm
Not Always according to this info: http://php.net/manual/en/mbstring.installation.php

In my experience it also Always was available in package when installing php but it doesn't seems to be 'default'.
Knowing this it might be usefull if there's more documentation about the Osclass server requirements?

I did a quick search but couldn't find it really, did I miss it?

After that my host company fixed that also they are replied
Looks like I've managed to set it up for you. Mbstring PHP module was missing. Please, tell osclass team to update their requirements during installation, because there not a single word about mbstring no error appears.

Why mbstring module was missing ? ItShouldn't, it is included and enabled by default usually.

Is that a shared hoisting plan ?
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 10, 2017, 04:15:11 pm
Not Always according to this info: http://php.net/manual/en/mbstring.installation.php

In my experience it also Always was available in package when installing php but it doesn't seems to be 'default'.
Knowing this it might be usefull if there's more documentation about the Osclass server requirements?

I did a quick search but couldn't find it really, did I miss it?



It is defaulted (or enabled) in all shared hosting i have seen so far. And  i have seen/used several in UK and US mostly.


Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 10, 2017, 04:27:56 pm
Besides the question included or not, this kind of feedback is valuable.

I can understand the remark, there should be up-to-date server requirements documentation (if this is missing?), including all needed PHP modules, any specific/recommended memory conditions and possibly caching conditions like Opcache/Memcache/APCu, DB conditions and possible Server Rewrite conditions.

There IS a lot of info available, why not use 1 server / hosting pre-requirements doc?
There is none inside the downloaded package, see attached image.
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 10, 2017, 04:30:24 pm
Besides the question included or not, this kind of feedback is valuable.

I can understand the remark, there should be up-to-date server requirements documentation (if this is missing?), including all needed PHP modules, any specific/recommended memory conditions and possibly caching conditions like Opcache/Memcache/APCu, DB conditions and possible Server Rewrite conditions.

There IS a lot of info available, why not use 1 server / hosting pre-requirements doc?
There is none inside the downloaded package, see attached image.

It is true that most help docs and info is outdated. yes.

And also a lot of info should be PINNED here in the forums. That only could save half of the posts/traffic/replies.




Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 10, 2017, 04:44:40 pm
I think the package should include some sort of readme file where this info can be found.

It's not that much info but for especially newbies and hosting companies this info is much needed and preferably in one simple place available. This will help fix any installation issues faster by being able to rule out any installation requirements issues.

Imo this also is needed for email requirements per possible mail host based on what we know already thanks to forum posters.
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 10, 2017, 04:55:28 pm


Imo this also is needed for email requirements per possible mail host based on what we know already thanks to forum posters.

True. For example we do know that the default GMAIL option should be removed.
Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 11, 2017, 12:09:26 am
@_CONEJO, in case you are reading this, do you agree?

I have some time available (unfortunately) and can start a doc based on what I know/find but I would need the confirmation this doc will be added to future download packages of Osclass.
Title: Re: Osclass 3 installation Errors
Post by: nijamutheen on July 11, 2017, 01:45:56 am
this is a vps hosting
Title: Re: Osclass 3 installation Errors
Post by: nijamutheen on July 11, 2017, 02:25:42 am
im trying to reinstall it but always shows same error of mbstring so how to clear this error please when i cantact my host company they told that "i already informed contact your developer and change mbstring module"
Title: Re: Osclass 3 installation Errors
Post by: _CONEJO on July 11, 2017, 10:02:42 am


Imo this also is needed for email requirements per possible mail host based on what we know already thanks to forum posters.

True. For example we do know that the default GMAIL option should be removed.

AFAIK, gmail is not the default option, it's the local server : https://github.com/osclass/Osclass/blob/master/oc-includes/osclass/installer/basic_data.sql#L48
which in most cases (shared/managed) should work out of the box, but people using VPS is more and more common, without configuring/installing a proper email server, we probably should remove it, but people will complain anyway that the emails are not working.


@_CONEJO, in case you are reading this, do you agree?

I have some time available (unfortunately) and can start a doc based on what I know/find but I would need the confirmation this doc will be added to future download packages of Osclass.

I'm not sure people read any file before installing any software, requirements are not that much, we may need to include in the installer, but if you do it, we'll include it in the download/package.




im trying to reinstall it but always shows same error of mbstring so how to clear this error please when i cantact my host company they told that "i already informed contact your developer and change mbstring module"

mbstring is requried by Osclass, you need to install and enable it in your server, you can not "clear" the error without installing and enabling the mbstring extension.
Title: Re: Osclass 3 installation Errors
Post by: Liath on July 11, 2017, 05:54:01 pm
im trying to reinstall it but always shows same error of mbstring so how to clear this error please when i cantact my host company they told that "i already informed contact your developer and change mbstring module"


just in this moment i would change the hosting company
Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 11, 2017, 11:29:35 pm
Thanks for your comments here _CONEJO.
Personally I think it's about preventing complaints and with little effort we can achieve better user experience I think/hope.
Some questions will never 'die' because people (like myself) act before they read and run into trouble they could have prevented reading up front. However, if important info is missing when people do read up front it all stops so therefor my pledge to include some kind of simple doc with min. yet needed requirements to install Osclass disabling people from accusing of missing info.

I will start writing something and share it for review and additions/corrections so we'll end up with something simple/basic to include.
Whatever comes to mind I will try to mention. So including 'tips' about email setup and references among other.

Regards,
Eric



Imo this also is needed for email requirements per possible mail host based on what we know already thanks to forum posters.

True. For example we do know that the default GMAIL option should be removed.

AFAIK, gmail is not the default option, it's the local server : https://github.com/osclass/Osclass/blob/master/oc-includes/osclass/installer/basic_data.sql#L48
which in most cases (shared/managed) should work out of the box, but people using VPS is more and more common, without configuring/installing a proper email server, we probably should remove it, but people will complain anyway that the emails are not working.


@_CONEJO, in case you are reading this, do you agree?

I have some time available (unfortunately) and can start a doc based on what I know/find but I would need the confirmation this doc will be added to future download packages of Osclass.

I'm not sure people read any file before installing any software, requirements are not that much, we may need to include in the installer, but if you do it, we'll include it in the download/package.




im trying to reinstall it but always shows same error of mbstring so how to clear this error please when i cantact my host company they told that "i already informed contact your developer and change mbstring module"

mbstring is requried by Osclass, you need to install and enable it in your server, you can not "clear" the error without installing and enabling the mbstring extension.
Title: Re: Osclass 3 installation Errors
Post by: dev101 on July 12, 2017, 04:11:12 am
This is a known issue: https://github.com/osclass/Osclass/pull/2167
Title: Re: Osclass 3 installation Errors
Post by: SmaRTeY on July 13, 2017, 03:13:39 am
Ah :)

This is a known issue: https://github.com/osclass/Osclass/pull/2167
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 13, 2017, 03:52:35 pm
Not an issue. Actually it is an Osclass feature. It keeps you away from CRAPPY hosting OR from un-managed hosting that you have NO IDEA how-to (and come crying here for help).

It shouldn't be changed. Something will be always missing, some graphics lib, or whatever ....

If Osclass users START with a wrong hosting decision, they will never reach the next stage. So Osclass team better focus into noticing to new users how important a good hosting plan is.

Please do not bother to hit me with replies about how wrong i'm, i don't care for your opinions. Especially from people that do not run a long-time high traffic Osclass service.
Title: Re: Osclass 3 installation Errors
Post by: dev101 on July 13, 2017, 03:58:17 pm
dependencies / requirements must be stated before/during installation steps, that's what all scripts do. It has nothing to do with "crappy hosting" thing.
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 13, 2017, 04:01:09 pm
dependencies / requirements must be stated before/during installation steps, that's what all scripts do. It has nothing to do with "crappy hosting" thing.

Can you point to to one "script" that does what you say ?

Wordpress for example ? Because i only see:

https://wordpress.org/about/requirements/

or

https://www.drupal.org/docs/7/system-requirements

or

https://downloads.joomla.org/technical-requirements

Title: Re: Osclass 3 installation Errors
Post by: dev101 on July 13, 2017, 04:09:01 pm
There are scripts that perform tons of checks during installations, it is pointless to post links to all of them, as many do not list complete list of requirements until you actually start installation process -- but they do perform various checks and give a feedback to the end user. It's called 'system check' step and it is a valuable user experience. Osclass already does this well, just missing this step, which is important, because installation will fail in the middle of it with "white page of death" and inexperienced users might not realize they'll have to check php error logs to understand what just happened.
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 13, 2017, 04:27:44 pm
There are scripts that perform tons of checks during installations, it is pointless to post links to all of them, as many do not list complete list of requirements until you actually start installation process -- but they do perform various checks and give a feedback to the end user. It's called 'system check' step and it is a valuable user experience. Osclass already does this well, just missing this step, which is important, because installation will fail in the middle of it with "white page of death" and inexperienced users might not realize they'll have to check php error logs to understand what just happened.

Crappy hosting is all about it is.

In a proper hosting company most modules come installed/enabled like curl etc etc. And in the case that something exotic is not installed, a ticket to the support solves that in a few minutes.

So again, it is all about hosting.

It is impossible for a script to check everything, and i haven't found any that does it yet.

But, as i said, your opinion is an opinion of a developer. Important for things related to that. Imagine myself, to start saying things about how good some php code is.

 ;)

(crappy hosting means for example Hosting Companis that don't/won't setup well their TMP files folder for example, and people have session problems).
Title: Re: Osclass 3 installation Errors
Post by: dev101 on July 13, 2017, 04:34:00 pm
I think that you're missing the point. As someone posted already an answer, Osclass is using a non-default extension, unlike vanilla WordPress that does and will work with most newer PHP versions "out of the box". In those cases, when you use something which is not default, must be included in the requirements.

Also, enabling a lot of unnecessary extensions just because you can, does not mean it's smart. In fact, in my opinion, a good shared hosting will initially provide you only with vanilla php version, and later enable you to customize/expand it per your needs. There are 100s of extensions out there, do you (your hosting) really have them all enabled? I doubt it.

Anyway, it is a pointless discussion really, as the fix is already proposed and requires minimal changes in a single file.
Title: Re: Osclass 3 installation Errors
Post by: Aficionado on July 13, 2017, 04:39:17 pm
I think that you're missing the point. As someone posted already an answer, Osclass is using a non-default extension, unlike vanilla WordPress that does and will work with most newer PHP versions "out of the box". In those cases, when you use something which is not default, must be included in the requirements.

Also, enabling a lot of unnecessary extensions just because you can, does not mean it's smart. In fact, in my opinion, a good shared hosting will initially provide you only with vanilla php version, and later enable you to customize/expand it per your needs. There are 100s of extensions out there, do you (your hosting) really have them all enabled? I doubt it.

Anyway, it is a pointless discussion really, as the fix is already proposed and requires minimal changes in a single file.

it is a poinless discussion, yes. because something will alsways be missing. CURL/MBSTRING/Sessions not saving/PHP 5.3, you name it.

Things that are solved very quickly by ANY decent support in a company.

Anyway, i think Osclass should also check (somehow) if the Hosting company is FREE (and decline) and also if the Hosting Plan costs 1 Dollar per month and also decline.

 ;D
Title: Re: Osclass 3 installation Errors
Post by: dev101 on July 13, 2017, 04:45:04 pm
Osclass will run without cURL, because it has (for the time being) a fallback library as part of the core. In fact, Osclass has a lot of libraries as fallback/compatibility backups, so your argument is non-existent. Sessions paths/issues are usually permissions/hosting related, not installation related.

edit: as I know there are plans to cleanup core from old libraries at some point, the checks during installation step must be updated to reflect those non-standard requirements (such as support for zip, cURL, etc.), because there will be no fallback to rely upon anymore.