RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 23, 2008, 06:20:01 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Can't upload 'Superclean' template rsg2_superclean_0.4.zip - error SVN513
Advanced search
  « previous next »
Pages 1
Author
Topic: Can't upload 'Superclean' template rsg2_superclean_0.4.zip - error SVN513  (Read 1289 times)
« on: December 07, 2007, 03:51:26 pm »
gixxer Offline
Newbie
*
Posts: 3

View Profile Email

I'm trying to install the 'rsg2_superclean_0.4.zip' template but I receive the following error every time I try.

Fatal error: Call to undefined function: uploadfile() in /home/fivefour/public_html/sshs87/administrator/components/com_rsgallery2/options/templates.php on line 198

This is line 198 in the templates.php file.
Code:
//Move uploaded file to /media directory
$resultdir = uploadFile( $userfile['tmp_name'], $userfile['name'], $msg );

Using 1.14.1 SVN 513
Logged
 
Reply #1
« on: December 08, 2007, 04:42:01 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

You are right.
We are cleaning up code and accidentally marked the uploadfile() function for deletion.
IN admin.rsgallery2.php there is a function called uploadfileX(). Remove the X and you will be fine.

It is modified in SVN and next Nightly Build should be OK again.

Thanks,

Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Print  Pages 1
« previous next »
Jump to: