Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Issue - Form_Validation > Setting Error Messages > set_rule()
Post: RE: Issue - Form_Validation > Setting Error Messag...

What version of CodeIgniter are you running? I tried out your rule and I see the custom message in 3.1.10. For the heck of it, have you tried overriding the whole form_validation with PHP Code: ...
1,704 Views
4 Replies
02-20-2019, 10:39 AM
xenomorph1030
    Thread: Custom 404 page working in localhost, but not in live site..
Post: RE: Custom 404 page working in localhost, but not ...

The code looks correct to me, so I am inclined to say it isn't the code you shared. One idea, are there differences in the web servers between your local and the live site?
1,155 Views
1 Replies
02-20-2019, 09:50 AM
xenomorph1030
    Thread: Codeigniter Website Showing Blank Page in AWS Elastic Beanstalk
Post: RE: Codeigniter Website Showing Blank Page in AWS ...

Unless you are moving it to an environment 100% like the one you tested, things like this happen. A blank page can mean several things such as Apache works, but it isn't being routed correctly or ther...
10,968 Views
11 Replies
05-16-2017, 05:42 AM
xenomorph1030
    Thread: SafiCloud - A file sharing platform & a Blog Built on CI
Post: RE: SafiCloud - A file sharing platform & a Blog B...

That's neat. What advantage does it have over the other file sharing platforms? Out of curiosity, how does one monitize such a thing or is it at your expense? I read the privacy policy and it sounds l...
9,516 Views
6 Replies
05-16-2017, 05:34 AM
xenomorph1030
    Thread: Syntax error, unexpected 'public' (T_PUBLIC)
Post: RE: Syntax error, unexpected 'public' (T_PUBLIC)

The error is exactly what it says, unexpected 'public' on line 10. Check out line 10. Check out your class and how it only contains a __construct() function. PHP does a decent job most of the time ...
8,601 Views
2 Replies
05-12-2017, 05:58 AM
xenomorph1030
    Thread: Search by Zip Code and Distance
Post: RE: Search by Zip Code and Distance

As others said, there are APIs that you can leverage to handle that. Some databases actually support geospatial searches either natively or through extensions/addons. When it comes to geospatial se...
4,291 Views
5 Replies
05-12-2017, 05:13 AM
xenomorph1030
    Thread: Select CI3 Encrypted data directly from MySQL database
Post: RE: Select CI3 Encrypted data directly from MySQL ...

In the future, you can always look at the library and functions in question. It isn't too difficult to decipher (no pun intended). https://github.com/bcit-ci/CodeIgniter/blob/develop/system/libraries/...
4,336 Views
4 Replies
05-12-2017, 04:14 AM
xenomorph1030
    Thread: Undefined valuable
Post: RE: Undefined valuable

Are you new to CodeIgniter? I can understand not knowing where things go. What Insite posted has instructions. You place that code into a new helper file (or existing if you want). You have to load t...
9,939 Views
14 Replies
05-11-2017, 08:17 AM
xenomorph1030
    Thread: TTFB realy heavy
Post: RE: TTFB realy heavy

There are so many variables such as the machine (cpu/memory), the network and network speed, the operating system, firewalls, your webserver (HTTPD in this case), the application itself, and more of c...
4,985 Views
4 Replies
05-03-2017, 05:22 AM
xenomorph1030
    Thread: Secure my API connection with other websites
Post: RE: Secure my API connection with other websites

Why couldn't the code you send them be modified? All of these measures to try to restrict items that are easily circumvented. I did a quick search and first result is this: http://stackoverflow.com/qu...
4,300 Views
4 Replies
05-03-2017, 04:45 AM
xenomorph1030
    Thread: unable to send javascript variable to controller
Post: RE: unable to send javascript variable to controll...

Your Ajax call is a bit extraneous when passing zplan as you have it in the URL and as a query parameter. I suggest picking one. My legitimate suggestion is to study up on Javascript and PHP. You are...
2,799 Views
3 Replies
05-02-2017, 08:28 AM
xenomorph1030
    Thread: Active Record Join with and or
Post: RE: Active Record Join with and or

Instead of $this->db->get(), try $this->db->get_compiled_select() and output the actual query that CodeIgniter will use. It helps debugging when there are issues with the Query Builder. My initial gue...
3,974 Views
3 Replies
05-02-2017, 07:03 AM
xenomorph1030
    Thread: Secure my API connection with other websites
Post: RE: Secure my API connection with other websites

How would you validate that the API request is coming from a particular domain? Request headers can be modified as can query parameters. It seems like additional complexity that isn't necessary, thoug...
4,300 Views
4 Replies
05-02-2017, 06:10 AM
xenomorph1030
    Thread: Storing IP as binary type in DB
Post: RE: Storing IP as binary type in DB

You are trying to compare a string against binary data which just doesn't work. Trying doing some research on how to select binary data.
1,375 Views
1 Replies
04-20-2017, 05:21 AM
xenomorph1030
    Thread: Delete Item / Job from Database - CodeIgniter PHP
Post: RE: Delete Item / Job from Database - CodeIgniter ...

I think it is because it is related to your job which you get paid to do. Asking strangers to fix your work that you get paid to do won't yield results. You will probably still get an answer, but cert...
2,052 Views
2 Replies
04-20-2017, 05:06 AM
xenomorph1030
    Thread: Recommendations for PDF Creation Libraries?
Post: RE: Recommendations for PDF Creation Libraries?

It really depends on your requirements as there are several PDF libraries. A recent project of mine ended up going with mPDF because of the language support.
13,820 Views
9 Replies
04-20-2017, 04:54 AM
xenomorph1030
    Thread: Ecommerce website in CI
Post: RE: Ecommerce website in CI

That doesn't sound particularly unique to me. Either way, as long as you setup authentication properly, use HTTPS (Let's Encrypt makes it easy), and utilize a payment gateway like Stripe (no need to s...
33,121 Views
18 Replies
04-19-2017, 06:10 AM
xenomorph1030
    Thread: .htaccess issues with CI3 inside Wordpress directory
Post: RE: .htaccess issues with CI3 inside Wordpress dir...

baxterheinen Wrote: (02-26-2017, 02:28 PM) -- ignitedcms Wrote: (02-26-2017, 08:46 AM) -- Daft question but does mod rewrite work on your hosting. That would be the first thing to look at. Sadly con...
13,850 Views
8 Replies
04-18-2017, 08:17 AM
xenomorph1030
    Thread: Ecommerce website in CI
Post: RE: Ecommerce website in CI

Is there any reason you are reinventing the wheel? Woocommerce and Magento are out there and used quite heavily. Shopify is pretty good without the need for any maintenance. There are certainly severa...
33,121 Views
18 Replies
04-18-2017, 04:04 AM
xenomorph1030
    Thread: tutorial code issue - working with database
Post: RE: tutorial code issue - working with database

Yeah, they definitely have it wrong. They use form_open() and form_close(), so no need for the elements since CodeIgniter will generate them. You could bring that to their attention and maybe get it ...
3,150 Views
1 Replies
04-18-2017, 03:59 AM
xenomorph1030

Theme © iAndrew 2016 - Forum software by © MyBB