Advertisement:

Author Topic: Problems registering a user or posting an ad  (Read 1019 times)

kuoyifu

  • Newbie
  • *
  • Posts: 7
Problems registering a user or posting an ad
« 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.  :)

Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #1 on: February 14, 2018, 01:40:16 pm »
Is this a stock Osclass ? Have you done ANY changes to the core or theme ?

Any plugins ?

kuoyifu

  • Newbie
  • *
  • Posts: 7
Re: Problems registering a user or posting an ad
« Reply #2 on: February 14, 2018, 02:40:19 pm »
no, nothing. plugin only analytics google.

Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #3 on: February 14, 2018, 03:18:51 pm »
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.


Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #4 on: February 14, 2018, 03:28:35 pm »
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.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Problems registering a user or posting an ad
« Reply #5 on: February 14, 2018, 06:00:25 pm »
Quote
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

Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #6 on: February 14, 2018, 07:33:57 pm »
Quote
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.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Problems registering a user or posting an ad
« Reply #7 on: February 14, 2018, 08:54:53 pm »
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?

kuoyifu

  • Newbie
  • *
  • Posts: 7
Re: Problems registering a user or posting an ad
« Reply #8 on: February 14, 2018, 10:52:11 pm »
version php: 7.1
version osclass: 3.7.4

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Problems registering a user or posting an ad
« Reply #9 on: February 14, 2018, 11:10:24 pm »
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

kuoyifu

  • Newbie
  • *
  • Posts: 7
Re: Problems registering a user or posting an ad
« Reply #10 on: February 15, 2018, 02:23:16 am »
Plan basic

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: Problems registering a user or posting an ad
« Reply #11 on: February 15, 2018, 02:34:17 am »
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.

Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #12 on: February 15, 2018, 10:33:27 am »
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.


kuoyifu

  • Newbie
  • *
  • Posts: 7
Re: Problems registering a user or posting an ad
« Reply #13 on: February 15, 2018, 02:03:30 pm »
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.

Aficionado

  • Guest
Re: Problems registering a user or posting an ad
« Reply #14 on: February 15, 2018, 04:02:47 pm »
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.