Advertisement:

Author Topic: PHP 7 and Osclass  (Read 10402 times)

Tonymura

  • Jr. Member
  • **
  • Posts: 75
  • Its always a good day when you learn something new
Re: PHP 7 and Osclass
« Reply #75 on: December 25, 2015, 10:43:22 pm »
Quote
I'm spending my time (that i don't have) to SHARE some information with others. If you have something to SHARE with others, please do. Otherwise please stand aside and just read.

Judging by your post counts it seems you have a lot of time on your hands.
I'm just reading the resolution to your problem in a hope to learn something new which i have yet to do, which before was stated clearly that you had resolved this issue and then spoke to soon.
I may not know this topic to well be neither do you.
« Last Edit: December 25, 2015, 10:46:51 pm by Tonymura »

Aficionado

  • Guest
Re: PHP 7 and Osclass
« Reply #76 on: December 25, 2015, 11:34:54 pm »


Judging by your post counts it seems you have a lot of time on your hands.


No i have limited time but i always try to share whatever information i have related to Osclass and also i try my best to help others with their problems and give some love back to the project.






Aficionado

  • Guest
Re: PHP 7 and Osclass
« Reply #77 on: December 26, 2015, 12:48:31 am »
Weird... That code in controller/ajax.php:

Code: [Select]
                case 'location': // This is the autocomplete AJAX
                    $cities = City::newInstance()->ajax(Params::getParam("term"));
                    foreach($cities as $k => $city) {
                        $cities[$k]['label'] = $city['label']." (".$city['region'].")";
                    }
                    echo json_encode($cities);
                break;

If it's being reached is because something on the frontside is triggering it. Might be something more hidden like User profile. ??? Look in all your themes scripts for:

Code: [Select]
.autocomplete(
Regards


The only instance i see the .autocomplete code in in search of the theme. Once.

Also even after i increased the characters from 2 to 3, still there are errors. Same errors. Could they be related just to PHP 7 ?

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: PHP 7 and Osclass
« Reply #78 on: December 26, 2015, 01:34:59 pm »
I couldn't know if that might be provoked by PHP 7... ??? Don't you still have error logs previous to your switching to PHP 7? If so, look there for that same error...

Regards