Advertisement

Illegal string shift 'class' + PHP 5.4.45 + Yii 1.1

2017-08-11

I have an application with YII 1.1 running with PHP 5.3.29 with CPANEL + EASY PHP. It works. I need to update in PHP 5.4.45, but when we do. The application has stopped working and starts to give the error as the print screen. print sreen I have alre

Configuring the NGINX Server for Codeigniter

2017-08-11

/etc/nginx/conf.d/default.conf server{ listen 80; listen [::]:80; server_name 192.168.56.101 192.168.101.100 localhost; root /var/www/html; index index.php index.html index.htm; location / { try_files $uri $uri/ =404; } error_page 404 /404.html; erro

Bootstrap Styles Do Not Work with Code Lighter

2017-08-11

The bootstrap folder has been placed in the root folder. the styles have been loaded into the header sections of view files like this. But it does not work. Help us solve this problem. You forgot type="text/css" Make sure you have configured you

Estimation of my big-O code, naive model

2017-08-11

I'm trying to solve Exercise 32.1-2 of the CLRS Book, which deals with string algorithms, naive pattern search Suppose all characters in the P pattern are different. Show how to accelerate NAIVE-STRING-MATCHER to execute in time O (n) on a text of ch

html array-form does not give a table

2017-08-11

How to send a form with entries in a table? When I click on foo.php?myArray%5B%5D=1&myArray%5B%5D=2&myArray%5B%5D=3 the URL becomes foo.php?myArray%5B%5D=1&myArray%5B%5D=2&myArray%5B%5D=3 I want foo.php?myArray=1+2+3 or something like that

Laravel Cache - file_put_contents file not found

2017-08-11

I have this really strange error that I am struggling to understand. I have a command that will cache the home page. If I run the cache:clear command:updateCaches And then try to load the site it tells me file_put_contents(/home/sites/staff.habbocrea

update and insert query does not work from php

2017-08-11

I'm stuck as soon as my update and insert query do not work, selecting the query works fine. here is my code below ... prepare("UPDATE new_oes.exam" . " SET exam_type=?,exam_from =?, exam_to=?," . "modified_by=?,passing_score=?, t

DISTINCT datetime in SQL query

2017-08-11

I graphically represent the data of a large database (150K + lines) and some data points have identical time stamps with different price values. For example: time => 1502050000 price => 1 time => 1502050000 // identical timestamp price => 1.1

how to make ajax compatible in the wordpress plugin

2017-08-11

I wrote a plugin in wordpress. It has .js files and .php files and i get data from db by calling the ajax method in jquery. When I use wp_enqueue_script and add them to wordpress, it works fine. but my question is how to use the wp_ajax place method