CodeIgniter Forums
reader online with codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: reader online with codeigniter (/showthread.php?tid=71811)



reader online with codeigniter - matt_ishida - 09-26-2018

Hello everyone,
a programmer created this online reader for my site https://dgtread.com/reader/ with codeigniter. I no longer have contact with that programmer, so I ask you for help.
I had to transfer the site from an altervista domain to another host. The online reader was designed to be read on altervista and therefore there were parameters to be corrected.
In addition to entering the database access data in codeigniter I also changed the path of the root of the web space (the one that on altervista was /members/sitename)
I have also rewritten some functions in reader_private (those that contain the web path).
If you want I am writing you the first errors I had to correct...
However, after importing the database the old data, and correct errors, the reader goes, but all the other pages give me this error: "File not found." I leave you an example below: 

https://dgtread.com/reader/read/isuca

what could be the problem?


RE: reader online with codeigniter - matt_ishida - 09-27-2018

Some friends advised me to use echo getcwd (); or APPPATH... but how do they use them?


RE: reader online with codeigniter - qury - 09-27-2018

if you could show us what is the code in the file applications/controllers/Reader.php and in the function read() ?


RE: reader online with codeigniter - matt_ishida - 09-27-2018

(09-27-2018, 06:19 AM)qury Wrote: if you could show us what is the code in the file  applications/controllers/Reader.php  and in the function read() ?

where do I find function read ()?