Re: [SR-Users] Siremis upload file

2012-05-03 Thread Elena-Ramona Modroiu

Hi,

this is more related to phpopenbiz/cubi frameworks used to build 
siremis. Maybe you get some hints on their forums.


Is it any message you get in the syslog files of the http server?

Regards,
Ramona

On 4/23/12 12:02 PM, Jesús Pérez Rubio wrote:

Hi, I have a problem making some changes on siremis front-end
everything was ok except when I try to add a field to upload a file
I got this error:
#2, fopen(ejemplo.csv): failed to open stream: No such file or directory
could anybody help me please? :)

Mi configuration:
DO:
BizField Name=batch_file Column=batch_file Length=64   
Required=N Type=Blob/


Insert:
Element Name=fld_batch_file Class=File FieldName=batch_file 
Label=File (.csv) AllowURLParam=N/


.php:
public function InsertRecord($recArr)
{
return parent::InsertRecord($recArr);
}

SQL:
mysql desc batch_provision;
++-+--+-+-++
| Field  | Type| Null | Key | Default | Extra  |
++-+--+-+-++
| id | int(11) | NO   | PRI | NULL| auto_increment |
| batch_file | blob| YES  | | NULL||
++-+--+-+-++
2 rows in set (0.02 sec)

Thanks in advance.

--
Jesús Pérez
VoIP Engineer at Quobis

Fixed: +34 902 999 465
Site: http://www.quobis.com http://www.quobis.com/



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Siremis upload file

2012-04-23 Thread Jesús Pérez Rubio
Hi, I have a problem making some changes on siremis front-end
everything was ok except when I try to add a field to upload a file
I got this error:
#2, fopen(ejemplo.csv): failed to open stream: No such file or directory
could anybody help me please? :)

Mi configuration:
DO:
BizField Name=batch_file Column=batch_file Length=64   Required=N
Type=Blob/

Insert:
Element Name=fld_batch_file Class=File FieldName=batch_file
Label=File (.csv) AllowURLParam=N/

.php:
public function InsertRecord($recArr)
{
return parent::InsertRecord($recArr);
}

SQL:
mysql desc batch_provision;
++-+--+-+-++
| Field  | Type| Null | Key | Default | Extra  |
++-+--+-+-++
| id | int(11) | NO   | PRI | NULL| auto_increment |
| batch_file | blob| YES  | | NULL||
++-+--+-+-++
2 rows in set (0.02 sec)

Thanks in advance.

-- 
Jesús Pérez
VoIP Engineer at Quobis

Fixed: +34 902 999 465
Site: http://www.quobis.com
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users