Need help fixing error!
|
07-13-2012, 11:43 AM
(This post was last modified: 07-13-2012 11:45 AM by trytofly.)
Post: #1
|
|||
|
|||
Need help fixing error!
Hi,
Please help me fix that error: Parse error: syntax error, unexpected T_IF, expecting T_WHILE in /home/gin/public_html/sks/classes/import_export.php on line 864 Code: public function character_data( $parser, $data ) line 864: if ( ( $this->xml_tags[$i]['field'] == $this->curr_element || $this->xml_tags[$i]['alias'] == $this->curr_element ) && !isset( $this->row_array[$this->xml_tags[$i]['field']] ) ) Thanks for help! |
|||
07-13-2012, 02:11 PM
Post: #2
|
|||
|
|||
RE: Need help fixing error!
(07-13-2012 11:43 AM)trytofly Wrote: Hi, http://ru2.php.net/manual/en/control-str....while.php maybe so PHP Code: ................................................................... |
|||
07-13-2012, 05:29 PM
(This post was last modified: 07-15-2012 03:47 PM by gerard.)
Post: #3
|
|||
|
|||
RE: Need help fixing error!
removed
|
|||
07-15-2012, 10:21 AM
(This post was last modified: 07-15-2012 10:23 AM by trytofly.)
Post: #4
|
|||
|
|||
RE: Need help fixing error!
(07-13-2012 02:11 PM)2nick Wrote:(07-13-2012 11:43 AM)trytofly Wrote: Hi, Thanks you fixed this code. Now i have that : Warning: implode() [function.implode]: Invalid arguments passed in /home/gint/public_html/sks/classes/import_export.php on line 345 Warning: implode() [function.implode]: Invalid arguments passed in /home/gintaras/public_html/skelbimai/classes/import_export.php on line 355 line 345: $ext_fields = implode( $this->ad_ignore_tags, ","); line 355: $ext_fields = implode( $this->user_ignore_tags, "," ); Code: public function getexportcsvfields( $d = "" ) idk how to fix that implode error someone can help me? Thanks!! |
|||
07-16-2012, 06:29 AM
(This post was last modified: 07-16-2012 06:42 AM by trytofly.)
Post: #5
|
|||
|
|||
RE: Need help fixing error!
(07-16-2012 06:10 AM)CarrioS Wrote: Try this-> you had wrong order of array and string in IMPLODE function Nope not working ... Warning: implode() [function.implode]: Invalid arguments passed in /home/gint/public_html/sks/classes/import_export.php on line 345 Warning: implode() [function.implode]: Invalid arguments passed in /home/gint/public_html/sks/classes/import_export.php on line 356 |
|||
07-16-2012, 07:51 AM
(This post was last modified: 07-16-2012 08:07 AM by trytofly.)
Post: #6
|
|||
|
|||
RE: Need help fixing error!
(07-16-2012 07:02 AM)CarrioS Wrote: Probably $this->ad_ignore_tags AND $this->user_ignore_tags are both UNDEFINIED with $ext_fields = implode(",", $test1=array("value1", "value3")); $ext_fields = implode(",", $test2=array("value2", "value4")); now is ok! no errors Code: public function getimportfields( ) |
|||
07-16-2012, 08:09 AM
Post: #7
|
|||
|
|||
RE: Need help fixing error! | |||
07-16-2012, 11:20 AM
(This post was last modified: 07-16-2012 11:32 AM by trytofly.)
Post: #8
|
|||
|
|||
RE: Need help fixing error!
(07-16-2012 08:13 AM)CarrioS Wrote: It should be definied..some text there.. There is it! Thanks you for help! |
|||
07-16-2012, 01:15 PM
Post: #9
|
|||
|
|||
RE: Need help fixing error!
(07-16-2012 11:20 AM)trytofly Wrote:(07-16-2012 08:13 AM)CarrioS Wrote: It should be definied..some text there.. Try please and rate me |
|||
07-16-2012, 01:24 PM
Post: #10
|
|||
|
|||
RE: Need help fixing error!
(07-16-2012 01:15 PM)kingofseo Wrote:(07-16-2012 11:20 AM)trytofly Wrote:(07-16-2012 08:13 AM)CarrioS Wrote: It should be definied..some text there.. Nope not working Warning: implode() [function.implode]: Invalid arguments passed in /home/gint/public_html/sks/classes/import_export.php on line 338 Warning: implode() [function.implode]: Invalid arguments passed in /home/gint/public_html/sks/classes/import_export.php on line 348 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)