Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: Coppermine Home Uploader BETA 2  (Read 28431 times)

0 Members and 1 Guest are viewing this topic.

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Coppermine Home Uploader BETA 2
« on: May 04, 2008, 09:34:42 pm »

Hello,

I have made a piece of software which allows you to easily add files to your Coppermine gallery from your computer. The software is very easy to use - just right-click the file and click "Add to CPG...". You can specify a Title, Description, Keywords and even which Album you want the file to go into.  You can also create albums and categories to sort your files.

System Requirements -
  • 2 MB Diskspace
  • About 256Mb RAM
  • Windows XP, Windows Vista
  • Microsoft .NET Framework 3.5 (recommended) OR Microsoft .NET Framework 2.0 with Cumulative Update 1 OR Microsoft .NET Framework 3.0 with Cumulative Update 1

Download - see attachments.
Preview - Pictures

BUG FIXES -
- MySQL Connection bug 05/05/2008 (Still not sure if this has been fixed, the new version works on Vista and XP).
As this is a BETA version there may be some bugs/errors, if you find any please report them.

CHANGE LOG -

  • Renamed application to - Coppermine Home Uploader
  • 10/05/2008 15:54 - Released Coppermine Home Uploader BETA 2
  • Image Preview - a thumbnail of the image you are about to upload is shown on the upload screen.
  • Any File Upload - you can now upload any coppermine supported file such as: .zip's and .txt's.
  • Album Creation - you can now create albums and sort them under categories.
  • Category Creation - you can now create categories.
  • Progress Bar - a progress bar is shown during upload.
  • Improved Error Reporting - you will now be shown a more precise error should you come across one.
  • Improved Installer - a proper installer which creates an entry in the Start Menu and a Desktop shortcut, eliminating the need to run Settings.exe, Install.exe and Uninstall.exe.
  • Improved Uninstall - you can now uninstall Coppermine Home Uploader using the Add/Remove programs option in Windows.



Important for Vista users  -
RUN THE INSTALL FILE AS AN ADMINSTRATOR - RIGHT-CLICK > RUN AS ADMINISTRATOR.
With Vista's decreased user privileges it is mandatory to run the install file as an Administrator (Right-Click > Run As Administrator). Why? - because this software makes a change to the shell to create the right click option, for Vista, it requires an Administrator account to do so. If you accidentally run the file as a non-admin (please don't) - Navigate to the installation folder and open the folder called - "utils" now run "Install.exe" as an adminstrator and fill in your details; this procedure has not been tested and is only there as a fallback procedure.

Important-
Create a directory in "albums/" called "cpghome".
Unblock this software from your firewall, if blocked, this will invoke a exception on XP and a "Coppermine Home BETA 1.1 has stopped working..." on vista.

Usage -
To install, download and extract the attached file and then run the .exe file and follow the on screen instructions. If you wish to change the settings you specified on installation; double click the short cut to the Control Panel which is on your Desktop and click the "Settings" option. To uninstall, use the Add/Remove programs option in Windows (Control Panel - Add/Remove Programs) or for Vista (Control Panel > Programs > Uninstall a Program). On installation you will be prompted for your ftp, MySQL and CPG details. Note. in the "CPG Root Path" field you must included your server root directory too. For example - "/htdocs/gallery". Also remember that your CPG Database Prefix must include the "_" - For example "cpg14x_".
At this stage of development .gif's are not supported. The software calculates and creates thumbnail and intermediate images based on the dimensions you have already set in Coppermine. If the file is not an image and a thumbnail exists in coppermine for that file type (example - the .zip default thumbnail) the default thumbnail will be shown instead.

I hope you like it and please let me know of any bugs etc.,

just_some_guy
« Last Edit: May 29, 2008, 09:33:36 am by just_some_guy »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Coppermine Home BETA 1
« Reply #1 on: May 04, 2008, 09:48:41 pm »

WoW very usefull vs XP_Publish. Then we have 2 solutions :-))
Thanx for all of us.

PYAP
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine Home BETA 1
« Reply #2 on: May 05, 2008, 07:37:56 am »

Attaching the executable (in a zip archive) in case the original link goes down. Thanks for your contrib. Can't test it, as I don't have Windows. To avoid confusion I suggest renaming both this thread as well as the app to "CoppermineHomeUploader" or similar.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Coppermine Home BETA 1
« Reply #3 on: May 05, 2008, 08:42:16 am »

Jsg, this looks like a very promising replacement for XP publish as it can also be used in Vista. I'll give a try once i'm back home and not at work  ;D

Cheers
Hein
Logged

maxymalny

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • Family Album
Re: Coppermine Home BETA 1 (Uploading App)
« Reply #4 on: May 05, 2008, 11:02:44 am »

Thx for that software, but it doesn't work for me. After instalation, when Im trying add a picture, vista informing me, that 'cpg has stopped working'.

I have windows vista home premium sp1 with Microsoft .NET Framework 3.5. All setting are correct (passwords, users, prefix, etc.). Coppermine version - 1.4.18.

Any idea what Im doing wrong?
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Coppermine Home BETA 1 (Uploading App)
« Reply #5 on: May 05, 2008, 11:06:13 am »

Thx for that software, but it doesn't work for me. After instalation, when Im trying add a picture, vista informing me, that 'cpg has stopped working'.

I have windows vista home premium sp1 with Microsoft .NET Framework 3.5. All setting are correct (passwords, users, prefix, etc.). Coppermine version - 1.4.18.

Any idea what Im doing wrong?
same problem  :-\
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home BETA 1 (Uploading App)
« Reply #6 on: May 05, 2008, 11:13:32 am »

I have released a new version to combat this possible bug, although i was unable to replicate this error i have edited the software at parts i thought could cause errors. This error could be caused by your firewall blocking Coppermine Home from making a connection to your server; you must unblock it.

Possible bug found - patch and new version released

Sorry,
« Last Edit: May 05, 2008, 01:06:51 pm by just_some_guy »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Coppermine Home BETA 1 (Uploading App)
« Reply #7 on: May 05, 2008, 12:19:17 pm »

Under which conditions was it tested at first ? Which version of vista and were fully admin or not ?
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home BETA 1 (Uploading App)
« Reply #8 on: May 05, 2008, 12:26:49 pm »

It was made on Windows Vista Home Premium SP1 and also tested on Windows XP Pro SP2. For some reason on Windows Vista’s hyped up user privileges - Install.exe and Uninstall.exe must be run as an Administrator. I have done my best to help provide error messages that make sense other than a generic "cpg has stopped working..." - this can be caused by a variety of reasons, primarily because the credentials set on install are incorrect.
« Last Edit: May 05, 2008, 01:27:44 pm by just_some_guy »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Coppermine Home BETA 1.1 (Uploading App)
« Reply #9 on: May 05, 2008, 01:45:57 pm »

Fast work jsg. Did you read Joachim's suggestion to rename ? It would be a clearer name for the app i think.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home Uploader BETA 1.1
« Reply #10 on: May 05, 2008, 03:44:14 pm »

Ok, I have uploaded the renamed the version. Renamed to - Coppermine Home Uploader BETA 1.1
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home Uploader BETA 2
« Reply #11 on: May 10, 2008, 05:24:18 pm »

I am happy to announce the release of Coppermine Home Uploader BETA 2; this new version has undergone many changes and new features added. Please uninstall BETA 1.1 by following the documented instructions and then download and install this new version.


Features -

  • Image Preview - a thumbnail of the image you are about to upload is shown on the upload screen.
  • Any File Upload - you can now upload any coppermine supported file such as: .zip's and .txt's.
  • Album Creation - you can now create albums and sort them under categories.
  • Category Creation - you can now create categories.
  • Progress Bar - a progress bar is shown during upload.
  • Improved Error Reporting - you will now be shown a more precise error should you come across one.
  • Improved Installer - a proper installer which creates an entry in the Start Menu and a Desktop shortcut, eliminating the need to run Settings.exe, Install.exe and Uninstall.exe.
  • Improved Uninstall - you can now uninstall Coppermine Home Uploader using the Add/Remove programs option in Windows.

See attached pictures for a demonstration.

Your thoughts and opinions on the new version would be greatly appreciated,
« Last Edit: May 10, 2008, 05:29:56 pm by just_some_guy »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine Home Uploader BETA 2
« Reply #12 on: May 10, 2008, 08:55:31 pm »

Is the .NET framework in version 3.5 really necessary? Can someone report if this works with older versions of the .NET framework?
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home Uploader BETA 2
« Reply #13 on: May 10, 2008, 10:15:40 pm »

I know that version 3.0 comes preinstalled with Windows Vista and that version 3.5 is available as a Windows Update and also came in Service Pack 1 (SP1) for Windows Vista; it could be the case that Vista users already have it and alot of XP users already have the .NET Framework 3.5 as SP3 for XP was released 4 days ago may have include version 3.5 and you may have downloaded it from Windows Update.  The software was tested and developed on PC's with version 3.5 so i can't give an accurate estimate if it would work with a lesser version, although I don't think the software uses any brand-new 3.5 features, so, feel free to try it out on a lesser version.

EDIT - Having done more research I can now conclude that Coppermine Home Uploader will work on the following versions of the .NET Framework -

- version 2.0 Cumulative Update 1
- version 3.0 Cumulative Update 1
- version 3.5

Microsoft released updates for versions 2.0 and 3.0 for 3.5 targeted software to work on these versions. I will adjust the system requirements accordingly.


Note. To check which version of the .NET Framework you have go to - Control Panel > Programs.
« Last Edit: May 11, 2008, 09:51:53 am by just_some_guy »
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Coppermine Home Uploader BETA 2
« Reply #14 on: May 17, 2008, 06:00:00 pm »

Will you ever consider an "end user" version of this app?
One we could distribute to every day regualr gallery members?

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home Uploader BETA 2
« Reply #15 on: May 17, 2008, 09:54:07 pm »

That is a potentially risky thing; it would involve making a reference to your server(s) location, user and password which would have to be saved locally on a users computer. A user could locate this data, be it saved in the registry or a file and use it malicously against you. Its a good idea and something I have thought of but the practicality aspect of it isn't good.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

fjmf

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Coppermine Home Uploader BETA 2
« Reply #16 on: July 04, 2008, 09:39:48 am »

you willing to share the source with this? I'm thinking of writing a app, a jumpstart wouldn't hurt...
Logged

Iced Coffee

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 128
Re: Coppermine Home Uploader BETA 2
« Reply #17 on: August 23, 2008, 09:39:50 am »

Thanks, this is a very useful idea :) Good tool CPG users should have.
Logged

reekajean

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine Home Uploader BETA 2
« Reply #18 on: November 23, 2008, 04:38:25 am »

I'm getting this error:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Unable to connect to any of the specified MySQL hosts.

here are the details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Exception of type 'System.Exception' was thrown.
   at MySql.Data.MySqlClient.NativeDriver.Open()
   --- End of inner exception stack trace ---
   at MySql.Data.MySqlClient.NativeDriver.Open()
   at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
   at MySql.Data.MySqlClient.MySqlPool.GetConnection()
   at MySql.Data.MySqlClient.MySqlConnection.Open()
   at Albums.Form1.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Control Panel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/Coppermine%20Home%20Uploader%20BETA%202/Control%20Panel.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MySql.Data
    Assembly Version: 5.0.8.1
    Win32 Version: 5.0.8.1
    CodeBase: file:///D:/Program%20Files/Coppermine%20Home%20Uploader%20BETA%202/MySql.Data.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Any ideas? It's not letting me back to the config screen to try and change any of my info.
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Coppermine Home Uploader BETA 2
« Reply #19 on: December 04, 2008, 07:24:25 pm »

Quote
"Unable to connect to any of the specified MySQL hosts"

Your firewall is either blocking the connection or your details are wrong. If you cant get back onto the control panel you may need to reinstall it.
Review the settings of your firewall and see if the program is blocked, you may also need to do the same for the Firewall built into Windows.

Apologies for the late reply,
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums
Pages: [1] 2   Go Up
 

Page created in 0.033 seconds with 20 queries.