Osclass forums
Support forums => Themes => Bender => Topic started by: kuoyifu on February 14, 2018, 11:32:22 am
-
Hello!
My debug tells me the following when I do the following action to register a user or publish an ad on the web:
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: mysqli::query(): MySQL server has gone away in /homepages/38/d723766668/htdocs/oc-includes/osclass/classes/database/DBCommandClass.php on line 1029
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: mysqli::query(): Error reading result set's header in /homepages/38/d723766668/htdocs/oc-includes/osclass/classes/database/DBCommandClass.php on line 1029
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Notice: Undefined index: locale in /homepages/38/d723766668/htdocs/oc-includes/osclass/emails.php on line 825
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: current() expects parameter 1 to be array, null given in /homepages/38/d723766668/htdocs/oc-includes/osclass/emails.php on line 825
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: Cannot modify header information - headers already sent by (output started at /homepages/38/d723766668/htdocs/oc-includes/osclass/utils.php:1738) in /homepages/38/d723766668/htdocs/oc-includes/osclass/utils.php on line 1743
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: mysqli::query(): MySQL server has gone away in /homepages/38/d723766668/htdocs/oc-includes/osclass/classes/database/DBCommandClass.php on line 1029
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Warning: mysqli::query(): Error reading result set's header in /homepages/38/d723766668/htdocs/oc-includes/osclass/classes/database/DBCommandClass.php on line 1029
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Notice: Undefined offset: 0 in /homepages/38/d723766668/htdocs/oc-includes/osclass/helpers/hLocale.php on line 174
[14-Feb-2018 00:42:54 Europe/Madrid] PHP Notice: Undefined offset: 0 in /homepages/38/d723766668/htdocs/oc-includes/osclass/helpers/hLocale.php on line 155
I have been trying for 4 days, since it is the first installation I do of osclass and 1and1 hosting.
Please a help and knowledge I need. :)
-
Is this a stock Osclass ? Have you done ANY changes to the core or theme ?
Any plugins ?
-
no, nothing. plugin only analytics google.
-
Then i can only guess that it is a hosting problem, since Osclass has no such issues.
If you want/can post a url so we (maybe) can help more.
-
Some information that may help you.
1. Contact your hosting support for help.
2. Database errors as yours "could" mean low memory allowance, timeout problems, slow db server.
3. Change your hosting provider. 1&1 is not good.
-
3. Change your hosting provider. 1&1 is not good.
i'm using 1and1 for few years now and i think is one of the best hosting, i have installed osclass also in shared hosting and never see those problems
-
3. Change your hosting provider. 1&1 is not good.
i'm using 1and1 for few years now and i think is one of the best hosting, i have installed osclass also in shared hosting and never see those problems
If it is not the script and not the hosting, then what it could be ?
1&1 has not a good reputation in hosting.
-
i'm saying because i'm using it, i have a dedicated server and also a shared hosting with servers in US and there is no problem at all running osclass in both of them.
PHP version?
Osclass version?
-
version php: 7.1
version osclass: 3.7.4
-
i just try to create a user and publish an ad with php 7.1 and osclass 3.7.4 without problem.
Could still be some some hosting setting.
what plan you have with 1and1
-
Plan basic
-
that is the smallest plan, they may have a lot of limitations. Try to ask support if that is due to some limitation and if they can fix it.
But i suggest that, if you are serious about making a website, to consider upgrade to a bigger plan.
-
that is the smallest plan, they may have a lot of limitations. Try to ask support if that is due to some limitation and if they can fix it.
But i suggest that, if you are serious about making a website, to consider upgrade to a bigger plan.
Smaller but i see no limitations. Also 8$ per month is not little money for one site.
-
The plan and the hosting are very good, I think so. I haven´t had problems with them. The custormer services y good. The problem I think is the versión of the osclass, maybe. I´m going to install locally with several versions. already I will say to you.
-
Osclass doesn't suffer ANY OF THESE problems you are posting. No need to install several versions, the latest is enough.
Your problems ARE hosting related and not of Osclass. As of 1 and 1 support, just ask them to help you out.
-
it works locally. I´m going to change a managed server maybe it´ll go better.
-
Everything is ok. all is working. I thank everybody their help and knowledge.
SOLUTION:
Work in a managed server