Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Unable to locate the specified class: Session.php [SOLVED]
Post: RE: Unable to locate the specified class: Session....

Did you loaded the session in autoload or in the construct function?
40,261 Views
10 Replies
04-16-2018, 03:07 AM
theedo
    Thread: Rest API Codeigniter. CORS PROBLEM [SOLVED]
Post: RE: Rest API Codeigniter.

Ok, I tried to host the frontend (reactjs) on a server with an accessible domain, then I tried one request and it doesn't work. I've always this error: https://i.gyazo.com/9f1901669320d69ae4bec007a2...
53,841 Views
5 Replies
04-15-2018, 02:19 PM
theedo
    Thread: Rest API Codeigniter. CORS PROBLEM [SOLVED]
Post: RE: Rest API Codeigniter.

Yeah, thank you. I read it, but it doesn't help me too much. I don't know if it is a "local" problem (I'm running on localhost:8080), maybe is it?
53,841 Views
5 Replies
04-15-2018, 01:58 PM
theedo
    Thread: Rest API Codeigniter. CORS PROBLEM [SOLVED]
Post: Rest API Codeigniter. CORS PROBLEM [SOLVED]

Hello, I'm working on ReactJS. I'm using React for the front-end part of website, and as backend I'm using Codeigniter with the RestAPI library (https://github.com/chriskacerguis/codeigniter-restserve...
53,841 Views
5 Replies
04-15-2018, 11:26 AM
theedo
    Thread: [SOLVED] Remove old result - Ajax
Post: RE: Remove old result - Ajax

You can remove all elements inside the div using $("#category").empty(); . So when your PHP send data to ajax call, the first thing is PHP Code: -- $("#category").empty();. -- To show all categ...
5,709 Views
4 Replies
04-08-2018, 01:12 AM
theedo
    Thread: MongoDB with CI.
Post: MongoDB with CI.

Hello, I'm new with a NoSQL implementation. I'm using MongoDB with CI and it works very well, but I have a question.  I saw that in each collection, mongo creates an _id column that is an object th...
9,369 Views
5 Replies
04-07-2018, 01:54 PM
theedo
    Thread: Question mark problem
Post: RE: Question mark problem

InsiteFX Wrote: (03-15-2018, 09:32 AM) -- The way we did our user profiles was to use their user_id for the profile directory name. If you use a MySQL auto increment field for the user_id it will be...
6,431 Views
5 Replies
03-15-2018, 09:35 AM
theedo
    Thread: Question mark problem
Post: Question mark problem

Hi to everyone! I'm making a CMS based on Codeigniter for a project. But I've a (maybe, I don't know) "big" problem. I've a database with some users registered. Some of these has the ? in their name ...
6,431 Views
5 Replies
03-15-2018, 08:44 AM
theedo
    Thread: Codeigniter and Ionic framework
Post: Codeigniter and Ionic framework

Hello! I'm creating an app based on Ionic framework with a PHP Backend. I'm using the Rest Server library for CI. Now, I've a "logic" problem about the login. I've two input, I send a POST reque...
4,056 Views
0 Replies
12-16-2017, 05:29 AM
theedo
    Thread: Best way to store user activities
Post: RE: Best way to store user activities

ivantcholakov Wrote: (12-07-2017, 04:36 AM) -- I you have to deal with millions of records, consider a comparison between MySQL and PostgreSQL. Maybe you would need to make an experiment. -- Thank ...
9,832 Views
7 Replies
12-07-2017, 04:39 AM
theedo
    Thread: Best way to store user activities
Post: RE: Best way to store user activities

PaulD Wrote: (12-06-2017, 11:36 AM) -- Your method is correct. You would have a table of user_id, user_following_id, and then select the timeline for user_id in a single query, gathering the latest p...
9,832 Views
7 Replies
12-06-2017, 01:18 PM
theedo
    Thread: Best way to store user activities
Post: Best way to store user activities

Hello! I'm creating a website where users can put like to a post, where they can write a post, where they can put dislike to a post and so on. I'm writing also the "timeline" algorithm. I must writ...
9,832 Views
7 Replies
12-06-2017, 09:38 AM
theedo
    Thread: Subdomain for users
Post: Subdomain for users

Hello people! I'm using IIS 7.0 on Windows Server 2008 R2 as SO. I have a website that foreach user has a profile page. The link foreach user is https://domain.com/profile?user=%username%. Now I s...
1,549 Views
0 Replies
09-19-2017, 11:13 PM
theedo
    Thread: How to use thid party?
Post: RE: How to use thid party?

Yeah, I tried also that, but when I create a var $var = new LinkPreview("http://facebook.com"); I have this error: https://i.gyazo.com/4b5e154e2e66dcb9c341ea3f4d33640e.png and this is my code: ...
4,330 Views
3 Replies
08-25-2017, 11:38 PM
theedo
    Thread: How to use thid party?
Post: How to use thid party?

Hi people. I was looking for a "link preview", https://github.com/kasp3r/link-preview (https://github.com/kasp3r/link-preview) . I was thinking that I can insert that in third_party, and call all by a...
4,330 Views
3 Replies
08-25-2017, 02:31 PM
theedo
    Thread: csrf, ajax and form
Post: RE: csrf, ajax and form

InsiteFX Wrote: (08-05-2017, 05:29 AM) -- Google Search is your friend. You can try this, it uses the jQuery Cookie Plugin was written for CodeIgniter 2.x but should still work with the 3.x versions...
7,602 Views
4 Replies
08-05-2017, 06:16 AM
theedo
    Thread: csrf, ajax and form
Post: csrf, ajax and form

Hi people, as I wrote in the thread subject I'm here to ask something about the csrf_regenerate. The first question is: is the csrf_regenerate needed?  In my website I set csrf_regenerate = TRUE and...
7,602 Views
4 Replies
08-05-2017, 05:15 AM
theedo
    Thread: Image manipulation
Post: RE: Image manipulation

Thank you for the suggestion about thumbnail, I'll use this. But, I don't need the get file size function.. I want that when an user upload an image the real image pass through a "compression" to r...
10,177 Views
6 Replies
07-30-2017, 12:20 PM
theedo
    Thread: Image manipulation
Post: Image manipulation

Hi people! How's going? Today I'm here to ask you something about the image manipulation. I studied it a lot, but I need help with something. I'm making a "Change profile picture" like facebook/insta...
10,177 Views
6 Replies
07-29-2017, 11:39 PM
theedo
    Thread: Real time - Which is the best way?
Post: RE: Real time - Which is the best way?

I think that I'll use socket.io or something else with nodejs, because my project never will be like facebook ahah! I'm obsessed with how facebook manages all requests (json, script js etc). Howev...
23,743 Views
10 Replies
07-24-2017, 11:07 AM
theedo

Theme © iAndrew 2016 - Forum software by © MyBB