Search Results
Post Author Forum Replies Views Posted [asc]
    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 shared...
bhogsett General Help 1 1,882 12-13-2018, 10:17 AM
    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/CodeIgn...
bhogsett General Help 1 1,882 12-12-2018, 10:31 AM
    Thread: Complex Database query--Help Please
Post: RE: Complex Database query--Help Please

(11-19-2018, 02:32 PM)jreklund Wrote: You don't need to use the query builder for everything, just run your query: https://www.codeigniter.com/user_guide/d...eries.html It will also be faster, as i...
bhogsett General Help 2 1,255 11-19-2018, 04:02 PM
    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    (      SELECT @ro...
bhogsett General Help 2 1,255 11-19-2018, 11:16 AM
    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. :-/
bhogsett General Help 5 3,145 02-26-2018, 09:43 AM
    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...
bhogsett General Help 5 3,145 02-25-2018, 04:43 PM
    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...
bhogsett General Help 5 3,145 02-25-2018, 03:54 PM
    Thread: CodeIgniter 3.1.6 Released
Post: RE: CodeIgniter 3.1.6 Released

Thanks, for the quick response I will update now.
bhogsett News & Discussion 44 70,152 12-27-2017, 12:51 PM
    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?
bhogsett News & Discussion 44 70,152 12-27-2017, 07:39 AM
    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.
bhogsett Model-View-Controller 1 1,923 09-19-2017, 03:32 PM
    Thread: Controller Called Twice?
Post: RE: Controller Called Twice?

(01-13-2015, 09:39 AM)mwhitney Wrote: 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 requests...
bhogsett General Help 5 7,720 01-13-2015, 02:26 PM
    Thread: Controller Called Twice?
Post: RE: Controller Called Twice?

(01-13-2015, 09:32 AM)Rufnex Wrote: Try this route: PHP Code:$route['showresultsNoDB/(:any)/(:any)'] = "scores/showresultsNoDB/$1/$2";  Thanks, I was pretty sure I had t...
bhogsett General Help 5 7,720 01-13-2015, 01:46 PM
    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: Code:...
bhogsett General Help 5 7,720 01-12-2015, 12:59 PM
    Thread: Strange Error and Double Error Messages
Post: RE: Strange Error and Double Error Messages

(01-06-2015, 01:59 AM)$this Wrote: Hi Bill, Could you please provide us the code of the model's function get_data ? </quote> Thanks, here is the get_Data function: Code:public functio...
bhogsett General Help 5 6,115 01-06-2015, 03:30 PM
    Thread: MySQL select--Need Help
Post: RE: MySQL select--Need Help

(01-05-2015, 08:35 PM)includebeer Wrote: "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 and foun...
bhogsett General Help 6 5,393 01-05-2015, 09:55 PM
    Thread: Strange Error and Double Error Messages
Post: RE: Strange Error and Double Error Messages

(01-05-2015, 01:49 PM)mwhitney Wrote: 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 ...
bhogsett General Help 5 6,115 01-05-2015, 08:15 PM
    Thread: MySQL select--Need Help
Post: RE: MySQL select--Need Help

(01-05-2015, 01:42 PM)mwhitney Wrote: 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...
bhogsett General Help 6 5,393 01-05-2015, 08:05 PM
    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(masterpoints),2...
bhogsett General Help 6 5,393 01-05-2015, 11:15 AM
    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 call to...
bhogsett General Help 5 6,115 01-05-2015, 11:10 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.