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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 03:51:06 pm
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! (Moderators: Daniel Tulp, Chef Groovy)
| | |-+  [SVN-472] - Problems deleting gallery / uploading files / keep original files
Advanced search
  « previous next »
Pages 1
Author
Topic: [SVN-472] - Problems deleting gallery / uploading files / keep original files  (Read 5122 times)
« on: November 30, 2006, 09:17:29 am »
Leander Noordermeer Offline
Newbie
*
Posts: 3

View Profile WWW Email

Last night I installed the Nightly Build 472 but had several problems. I have listed all of my problems below:

1) Problems deleting a gallery: When I try to delete a gallery I recieve this errormessage:

Fatal error: Call to undefined function: sefreltoabs() in /usr/local/www/htdocs/backtor/administrator/components/com_rsgallery2/includes/gallery.class.php on line 192


2) Uploading files by ZIP: When I try to upload files in a zip everything is working fine. But after seeing the content of the zip and when the actual upload (writing in database) sould begin it gives these errors:

Notice: Use of undefined constant JPATH_BASE - assumed 'JPATH_BASE' in /usr/local/www/htdocs/backtor/administrator/components/com_rsgallery2/admin.rsgallery2.php on line 566

Warning: getimagesize() [function.getimagesize]: Unable to access JPATH_BASE/media/Lekker Faut.jpg in /usr/local/www/htdocs/backtor/administrator/components/com_rsgallery2/includes/img.utils.php on line 202

Warning: getimagesize(JPATH_BASE/media/Lekker Faut.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /usr/local/www/htdocs/backtor/administrator/components/com_rsgallery2/includes/img.utils.php on line 202
- Error Image Upload : Lekker Faut.jpg : not an image OR can't read JPATH_BASE/media/Lekker Faut.jpg


3) Keep original files: You can select the option "Keep original files" by the settings. When you select you don't want this, it still puts the files, after uploading completes, in the /images/rsgallery/original folder.


I recieve all the errors at the backend. No problems are visible at the frontend.

Below you will find my config:

* Joomla 1.0.10
* RSGallery2 1.1.11 SVN472
* PHP 4.4.4
* Apache/FreeBSD 5.4

Hope you can help me!  Cheesy
« Last Edit: November 30, 2006, 09:33:15 am by Leander Noordermeer » Logged
 
Reply #1
« on: November 30, 2006, 05:56:03 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

it is really weird why hte gallery uses sefreltoabs at the backend, quick fix for now is to change the link not to use sefRelToAbs ()

second is fixed easily:
add
DEFINE("JPATH_BASE", $mosConfig_absolute_path); to the definitions at the top of admin.rsgallery2.php, I'll make this last change in the svn.
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: December 01, 2006, 07:37:27 am »
Leander Noordermeer Offline
Newbie
*
Posts: 3

View Profile WWW Email

Ok. So if I understand it, the problems will be fixed in the next SVN?

Could you also explain the problems I quoted as third and are you also informed that the frontend shows "No images in gallery" at all times?
« Last Edit: December 01, 2006, 07:40:25 am by Leander Noordermeer » Logged
 
Reply #3
« on: December 05, 2006, 02:16:27 pm »
Leander Noordermeer Offline
Newbie
*
Posts: 3

View Profile WWW Email

I think the admins are to busy with compiling the new SVN instead of awnsering my qeustions Cheesy No problem. I searched thru the forum myself and find out that the bugs from deleting a gallery and uploading files should be fixed in the latest SVN. Thanks to a friend who have posted the same sort of problems outside the Nightly Builds Feedback Smiley

Now all of you also know it... So what are you waiting for... go upgrade your version Grin
Logged
 
Print  Pages 1
« previous next »
Jump to: