Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
November 22, 2008, 02:41:32 pm
RSGallery2 Support Forums
Developers corner
Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
(Moderators:
Daniel Tulp
,
Chef Groovy
)
[SVN-427] Upload Error
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: [SVN-427] Upload Error (Read 10426 times)
«
on:
November 05, 2006, 10:38:57 pm »
Chris
Newbie
Posts: 9
[SVN-427] Upload Error
Im using Joomla 1.0.10, RSGallery 1.10.11 Alpha with the nightly build 427 and php 4.1.1
whenever i try to upload an image in the backend i get:
Warning: Invalid argument supplied for foreach() in c:\apache\v-htdocs\joomla\administrator\components\com_rsgallery2\admin.rsgallery2.php on line 886
Image uploaded succesfully!
but no image is uploaded
also, when i try to do a frontend upload i get:
Fatal error: Call to undefined function: mysql_real_escape_string() in c:\apache\v-htdocs\joomla\administrator\components\com_rsgallery2\includes\img.utils.php on line 191
«
Last Edit: November 06, 2006, 02:33:29 am by Chris
»
Logged
Reply #1
«
on:
November 06, 2006, 02:46:58 pm »
Ronald Smit
Administrator
Hero Member
Posts: 1214
Re: [SVN-427] Upload Error
Chris,
You are working with a relatively old php version. Most functions are Ok, but the general direction of the component is based on PHP version 4.3.X
mysql_real_escape_string is one of them. This is supported from php version 4.3.0+.
I'll look into the upload problem again. Can you tell me if this was a single file upload, ZIP-upload or FTP-upload in the backend?
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #2
«
on:
November 06, 2006, 03:23:22 pm »
Ronald Smit
Administrator
Hero Member
Posts: 1214
Re: [SVN-427] Upload Error
Chris,
Again trial and error, so attached you'll find a new
admin.rsgallery2.php
Please copy it over the old one and try again.
Make sure you have RSGallery2->Control Panel->debug to YES.
Good luck,
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #3
«
on:
November 06, 2006, 07:38:34 pm »
Chris
Newbie
Posts: 9
Re: [SVN-427] Upload Error
Thanks, i'll update my php to 4.4.4,
as to the backend problem, it happens with any form of upload and after copying in the new php file, it still didnt work.
Logged
Reply #4
«
on:
November 07, 2006, 09:59:34 pm »
Chris
Newbie
Posts: 9
Re: [SVN-427] Upload Error
Well, i updated to 4.4.4 and i seem to have come past that problem, now however i get a new problem, when i try to upload a picture in the backend get an error:
- Error Image Upload : THV 03 Rows Merlot.jpg : error creating display image: Array
When i do a front end upload it says the upload was successful, but it doesnt actually have any images uploaded
With the latest nightly build [432], i get the message:
Fatal error: Call to undefined function: imagecreatefromjpeg() in c:\apache\v-htdocs\joomla\administrator\components\com_rsgallery2\includes\img.utils.php on line 571
for a frontend upload
«
Last Edit: November 07, 2006, 10:10:38 pm by Chris
»
Logged
Reply #5
«
on:
November 08, 2006, 02:45:09 am »
Ronald Smit
Administrator
Hero Member
Posts: 1214
Re: [SVN-427] Upload Error
chris,
The last error on createimgfromjpeg suggests that GD2 is not compiled with PHP.
Perhaps in the upgrade process you forgot to uncomment the GD2 line in php.ini?
This could also cause the first and second image.
Please check if your PHP version is with GD2 support.
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #6
«
on:
November 08, 2006, 07:14:57 am »
Chris
Newbie
Posts: 9
Re: [SVN-427] Upload Error
well, i am running it on imagemagick rather than gd2, 6.3.0 to be exact
and as for gd2 support, my php doesnt seem to have it
Logged
Reply #7
«
on:
November 08, 2006, 10:09:54 am »
Ronald Smit
Administrator
Hero Member
Posts: 1214
Re: [SVN-427] Upload Error
Have you set the backend to use ImageMagick then?
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #8
«
on:
November 08, 2006, 11:01:31 pm »
Chris
Newbie
Posts: 9
Re: [SVN-427] Upload Error
yes i have, but since that isnt working ill try netbpm
Logged
Reply #9
«
on:
November 09, 2006, 02:55:50 am »
Ronald Smit
Administrator
Hero Member
Posts: 1214
Re: [SVN-427] Upload Error
What kind of server setup are you using?
- Windows or LINUX
- Apache or other
Do you have root access?
Every PHP version has GD2 support, but you need to activate it first.
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...