CodeIgniter Forums
Upload with Rapyd - 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: Upload with Rapyd (/showthread.php?tid=12368)

Pages: 1 2


Upload with Rapyd - El Forum - 10-16-2008

[eluser]DeaX[/eluser]
Hi

I would like to use the upload function with Rapyd (http://www.rapyd.com/), but it returns this errors :

Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: output

Filename: fields/upload.php

Line Number: 267
A PHP Error was encountered

Severity: Notice

Message: Undefined property: dataform_upload::$upload

Filename: fields/upload.php

Line Number: 107

Fatal error: Call to a member function initialize() on a non-object in D:\wamp\www\rapyd\rapyd\components\fields\upload.php on line 107

You can see the php page here : http://trac.rapyd.com/browser/trunk/rapyd/components/fields/upload.php

I don't know what to do... I need some help please.

PS: The Rapyd's forum is closed, that's the reason why i post here.

Thx


Upload with Rapyd - El Forum - 10-16-2008

[eluser]abmcr[/eluser]
But what is the Rapyd version and CI you use?
The forum of Rapyd is not closed if you use the latest version.... only the old Rapyd version are discontinued.


Upload with Rapyd - El Forum - 10-16-2008

[eluser]DeaX[/eluser]
I had download the pack with Rapyd + CI on Rapyd's Website.
So it's ""current" code igniter 1.6.3 & "last tested" rapyd-sa svn (recent, testing purpose)"

Ha ok! Smile

I don't speak italien :p so i don't understand what is write.
Thank's. I gonna try the 0.0.4 standalone with the lastest CI.


Upload with Rapyd - El Forum - 10-16-2008

[eluser]DeaX[/eluser]
So, I try with the standalone version but :

When i add this array for upload field :

Code:
array(
            'type'        => 'upload',
            'name'        => 'image',
            'label'       => 'immagine',
            'upload_path' => './../upload/path/',
            'allowed_types'=> 'jpg|gif',
            'size'=> '50',
        ),

PHP returns this
Code:
Fatal error: Class 'form' not found in D:\wamp\www\rapyd.sa.0.0.4\rapyd\components\fields\upload.php on line 245
So i change the form by rpd_form, like in the other field.

The view of edition works, but when i want to save, PHP returns :
Code:
Notice: Undefined variable: output in D:\wamp\www\rapyd.sa.0.0.4\rapyd\components\fields\upload.php on line 267

Notice: Undefined property: dataform_upload::$upload in D:\wamp\www\rapyd.sa.0.0.4\rapyd\components\fields\upload.php on line 107

Fatal error: Call to a member function initialize() on a non-object in D:\wamp\www\rapyd.sa.0.0.4\rapyd\components\fields\upload.php on line 107

What's the problem ?

Thanks


Upload with Rapyd - El Forum - 10-17-2008

[eluser]abmcr[/eluser]
Post the problem into the Rapyd Forum.....


Upload with Rapyd - El Forum - 10-17-2008

[eluser]DeaX[/eluser]
I can't. The register is closed : "Questo forum non accetta nuova registrazioni al momento."


Upload with Rapyd - El Forum - 10-21-2008

[eluser]DeaX[/eluser]
Hi.

I've corrected the upload file, with the SVN revision. But it steal don't work...
I don't know what to do.


Please, I really need help.
Thanks


Upload with Rapyd - El Forum - 10-21-2008

[eluser]abmcr[/eluser]
i have not a Rapyd SA user.... please be patient 8-/


Upload with Rapyd - El Forum - 10-21-2008

[eluser]DeaX[/eluser]
Ok, thanks Smile


Upload with Rapyd - El Forum - 10-29-2008

[eluser]Felice Ostuni[/eluser]
hi all,
probably this is first post of year..

thnks abmcr for supporting rapyd users,
ok rapyd forum is now reopened for new registrations, we had a lot of spam & hacking attemps on our old forum.

about upload field, yes it was corrected on svn version but untested on "ci" or "kohana" env. but is should work, it need the path of upload dir "relative to the system or controller" folder.