CodeIgniter Forums
Is CuteNews compatable with CI? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Is CuteNews compatable with CI? (/showthread.php?tid=9345)



Is CuteNews compatable with CI? - El Forum - 06-22-2008

[eluser]neoevents[/eluser]
I got a error when I tried and put
Code:
<?PHP
include("cutenews/show_archives.php");
?>


Into my page. Is there a way to edit this code?


Is CuteNews compatable with CI? - El Forum - 06-22-2008

[eluser]Developer13[/eluser]
Would probably help if you gave details on the specific error you receive.


Is CuteNews compatable with CI? - El Forum - 06-22-2008

[eluser]neoevents[/eluser]
[quote author="Developer13" date="1214186107"]Would probably help if you gave details on the specific error you receive.[/quote]
I got these four:


Quote:A PHP Error was encountered

Severity: Warning

Message: file(/data/postponed_news.txt) [function.file]: failed to open stream: No such file or directory

Filename: inc/functions.inc.php

Line Number: 162
Quote:A PHP Error was encountered

Severity: Warning

Message: file(./data/comments.txt) [function.file]: failed to open stream: No such file or directory

Filename: inc/functions.inc.php

Line Number: 430
Quote:A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: inc/functions.inc.php

Line Number: 432
Quote:A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: inc/functions.inc.php

Line Number: 718



Is CuteNews compatable with CI? - El Forum - 06-22-2008

[eluser]daulex[/eluser]
im no expert, but looks like u will prolly need to edit the cutenews script and put in base_url, where possible. the bottom 2 are a result of the top 2 not loading correctly if im not wrong.

once again, im no expert and please correct me if im wrong, but thats what it looks like ;P