Coppermine Home Uploader BETA 2 Coppermine Home Uploader BETA 2
 

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

Main Menu

Coppermine Home Uploader BETA 2

Started by just_some_guy, May 04, 2008, 09:34:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

just_some_guy

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
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

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

PYAP

Joachim Müller

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.

Hein Traag

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

maxymalny

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?

François Keller

Quote from: maxymalny 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?
same problem  :-\
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

#6
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,
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

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

just_some_guy

#8
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.
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

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

just_some_guy

Ok, I have uploaded the renamed the version. Renamed to - Coppermine Home Uploader BETA 1.1
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

#11
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,
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

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

just_some_guy

#13
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.
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

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

just_some_guy

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.
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

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

Iced Coffee

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

reekajean

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.

just_some_guy

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,
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