Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: unexpected T_CONST--Help Please
Post: RE: unexpected T_CONST--Help Please

I fixed the problem, but am not sure how it occurred. I first loaded 3.1.9 into a test directory with the same result. I then loaded 3.1.9 into a test directory for another domain on the same sh...
2,276 Views
1 Replies
12-13-2018, 10:17 AM
bhogsett
    Thread: unexpected T_CONST--Help Please
Post: unexpected T_CONST--Help Please

One of the four web sites I have created with CI has suddenly started getting this error: Parse error: syntax error, unexpected T_CONST in /home3/billhogs/public_html/ccbridgeclub/system/core/CodeI...
2,276 Views
1 Replies
12-12-2018, 10:31 AM
bhogsett
    Thread: Complex Database query--Help Please
Post: RE: Complex Database query--Help Please

jreklund Wrote: (11-19-2018, 02:32 PM) -- You don't need to use the query builder for everything, just run your query: https://www.codeigniter.com/user_guide/database/queries.html It will also be...
1,540 Views
2 Replies
11-19-2018, 04:02 PM
bhogsett
    Thread: Complex Database query--Help Please
Post: Complex Database query--Help Please

I am tgrying to find the median value in a table. This works: Code: -- SELECT round(AVG(middle_values),0) AS 'median' FROM (  SELECT t1.masterpoints_total AS 'middle_values' FROM    (  ...
1,540 Views
2 Replies
11-19-2018, 11:16 AM
bhogsett
    Thread: php 7.2 Throws Error
Post: RE: php 7.2 Throws Error

I am contacting the host.  But they have hoops to jump through that require information from the person payng for the site rather than just the cPanel login. :-/
3,632 Views
5 Replies
02-26-2018, 09:43 AM
bhogsett
    Thread: php 7.2 Throws Error
Post: RE: php 7.2 Throws Error

The control panel is CPanel, but I do not see any referencer to sqlite in the database section or anywhere else. Where should the sqlite on/off be located? I agree it sounds like a hosting issue. B...
3,632 Views
5 Replies
02-25-2018, 04:43 PM
bhogsett
    Thread: php 7.2 Throws Error
Post: php 7.2 Throws Error

I have just upgraded to php 7.2 on inMotion hosting. I get an error when loading Codeigniter pages, but not other php scripts.  I am using CI 3.1.7. Pages load and then show this error:: A PHP Error...
3,632 Views
5 Replies
02-25-2018, 03:54 PM
bhogsett
    Thread: CodeIgniter 3.1.6 Released
Post: RE: CodeIgniter 3.1.6 Released

Thanks, for the quick response I will update now.
76,402 Views
44 Replies
12-27-2017, 12:51 PM
bhogsett
    Thread: CodeIgniter 3.1.6 Released
Post: RE: CodeIgniter 3.1.6 Released

i am using version 3.0 and am ready to update to 3.1.6. Do I look at each of the earlier update instructions starting with 3.0 and do any steps shown other than replacing system files?
76,402 Views
44 Replies
12-27-2017, 07:39 AM
bhogsett
    Thread: View update_batch without executing
Post: View update_batch without executing

I am using a db->update_batch and as I am debugging I would like to view what will be in the update without executing the update. Can this be done? Thanks.
2,165 Views
1 Replies
09-19-2017, 03:32 PM
bhogsett
    Thread: Controller Called Twice?
Post: RE: Controller Called Twice?

mwhitney Wrote: (01-13-2015, 09:39 AM) -- It looks like your asset (CSS/image) requests are being routed to your controller (probably via relative URLs in link/img tags). You might see some js req...
8,495 Views
0 Replies
01-13-2015, 02:26 PM
bhogsett
    Thread: Controller Called Twice?
Post: RE: Controller Called Twice?

Rufnex Wrote: (01-13-2015, 09:32 AM) -- Try this route: PHP Code: -- $route['showresultsNoDB/(:any)/(:any)'] = "scores/showresultsNoDB/$1/$2"; -- -- Thanks, I was pretty sure I had tried that...
8,495 Views
0 Replies
01-13-2015, 01:46 PM
bhogsett
    Thread: Controller Called Twice?
Post: Controller Called Twice?

I do not understand and error message I am getting in the Codeigniter logs. I sure hope someone can point me in the right direction to get rid of this irritant. I have this controller function: C...
8,495 Views
0 Replies
01-12-2015, 12:59 PM
bhogsett
    Thread: Strange Error and Double Error Messages
Post: RE: Strange Error and Double Error Messages

$this Wrote: (01-06-2015, 01:59 AM) -- Hi Bill, Could you please provide us the code of the model's function get_data ? Thanks, here is the get_Data function: Code: -- public functi...
6,674 Views
0 Replies
01-06-2015, 03:30 PM
bhogsett
    Thread: MySQL select--Need Help
Post: RE: MySQL select--Need Help

includebeer Wrote: (01-05-2015, 08:35 PM) -- "It does not work" is not a description of the problem! What is the error message you get? -- Thanks, you are right, of course.  I went back to my code ...
6,040 Views
0 Replies
01-05-2015, 09:55 PM
bhogsett
    Thread: Strange Error and Double Error Messages
Post: RE: Strange Error and Double Error Messages

mwhitney Wrote: (01-05-2015, 01:49 PM) -- I'm guessing you need to use $data[0]['DOW'] instead of $data['0']['DOW']. Ideally, you would track down wherever the $data array is getting padded with an a...
6,674 Views
0 Replies
01-05-2015, 08:15 PM
bhogsett
    Thread: MySQL select--Need Help
Post: RE: MySQL select--Need Help

mwhitney Wrote: (01-05-2015, 01:42 PM) -- Since you're using UNION, you would most likely want to use $this->db->query() instead of $this->db->select(). -- Thanks, I rewrote the code to us $this-db...
6,040 Views
0 Replies
01-05-2015, 08:05 PM
bhogsett
    Thread: MySQL select--Need Help
Post: MySQL select--Need Help

I am not very good at mysql. I have this query working: SELECT player1 Player, round(sum(masterpoints),2) Total FROM scores2014 GROUP BY Player UNION SELECT player2 Player, round(sum(masterp...
6,040 Views
0 Replies
01-05-2015, 11:15 AM
bhogsett
    Thread: Strange Error and Double Error Messages
Post: Strange Error and Double Error Messages

I am surprised and confused. I have a fully working php web application that is throwing an Undefined offset warning notice and I cannot see why. I use Codeigniter (obviously) and have this cal...
6,674 Views
0 Replies
01-05-2015, 11:10 AM
bhogsett

Theme © iAndrew 2016 - Forum software by © MyBB