CodeIgniter Forums
CodeExtinguisher 2.0 Release Candidate 14.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: CodeExtinguisher 2.0 Release Candidate 14.2 (/showthread.php?tid=8451)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]Majd Taby[/eluser]
ah i see, according to http://us3.php.net/pathinfo the filename key has been added since version 5.2.0


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]daulex[/eluser]
so what do I do now? x_X


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]got 2 doodle[/eluser]
I just did a clean install of CodeIgnitor and Codex 14.2 same error as daulex (image plugin) I am on xampp and XP. I just finished an app using Codex 11.2 so it worked back then. I'm not a good enough coder to even know where to start.

jtaby I know you are crazy busy but are there any plans to address this issue?

I'd really love to be using the latest and greatest :-(


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]Majd Taby[/eluser]
i was fairly sure I addressed the image issue in XAMPP...it was with the include() in plugins/image.php. Try changing that line so it includes the full path, not just the relative path...i'm surprised cause I remember fixing this issue.


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]Donald Hughes[/eluser]
[quote author="abmcr" date="1212517915"]no datetime..... it must be date: see the sql file attached to the zip file

Code:
...
`date_test` date NOT NULL,
[/quote]


So long as I wrap the parameters with an intval(), it works fine with the datetime database columns. But my core problem is still there: my form comes up completely blank when I try to edit the data. Unless you're implying that the datetime database column is preventing all data, regardless of type, from displaying in the form?


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]got 2 doodle[/eluser]
Yes the full path worked

Changed on line 21
Code:
include_once("c:xampp/htdocs/Test-Codex/codex/application/plugins/file.php");



CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]Majd Taby[/eluser]
ok, just as an FYI, you might was well use APPPATH.'plugins/'

weird...perhaps the fix got lost in the releases


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]daulex[/eluser]
jtaby, you never answered: what do i do now, with this:

Code:
<select name="view_mode">
                    index.htmltable.php<option value="table.php"<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>
<p>Message:  Undefined index:  filename</p>
<p>Filename: default/codex_choosers.php</p>
<p>Line Number: 16</p>

</div><div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">

<h4>A PHP Error was encountered</h4>

<p>Severity: Notice</p>

<p>Message:  Undefined index:  filename</p>
<p>Filename: default/codex_choosers.php</p>
<p>Line Number: 17</p>

</div>></option>                </select>



CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]got 2 doodle[/eluser]
Yes
Code:
include_once(APPPATH.'/plugins/file.php');
works fine, thanks


CodeExtinguisher 2.0 Release Candidate 14.2 - El Forum - 06-03-2008

[eluser]Majd Taby[/eluser]
daulex, either upgrade to php 5, or change the lines at the error to pick up the file name. perhaps using explode() or something....i'll fix this issue once i'm done with the website for codex