Does not work !!!

julien2533

New Member
YetiShare User
Wurlie User
May 12, 2013
7
0
0
Hi,

When someone try to upload files:

ERROR: There was a server problem when attempting the upload, please try again later.

Admin log:

===========================================================
2013-12-31 12:56:13 - *** ERROR *** Array
(
[Error Msg] => Call to a member function getFullShortUrl() on a non-object
[File] => /home/easyupload/domains/easyupload.it/public_html/includes/class.uploader.php
[Line Number] => 789
[Error Type] => E_ERROR
)



ANY IDEA ? Fresh install...
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
If you want to send me FTP and admin area access via the contact form above, I'll take a look in the morning for you.
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
I've fixed this now. One of the table columns was causing the error as it was expecting a value. It looks to be MySQL version specific as the column has been part of the code for a while. However I've fixed it for future versions. Let me know if you see anything else.

For anyone else, the fix is to execute this on your database:

Code:
ALTER TABLE `file` CHANGE `adminNotes` `adminNotes` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
 

julien2533

New Member
YetiShare User
Wurlie User
May 12, 2013
7
0
0
Thanks very much

Do you think that the probleme is the same for your short url script:

Hello,

Fresh install:

when trying to create a short url:

Field 'shortUrl' doesn't have a default value
INSERT INTO `shorturl` (`originalUrl`, `dateCreated`, `createdIP`, `visits`, `isPrivate`, `totalUses`, `urlDomainId`) VALUES ('http://google.fr','2013-12-31 15:00:00','78.243.5.123','0','0','0','1')

ANy idea ?
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
I've just responded via email with the same :)

Try this on your short url database:

Code:
ALTER TABLE `shorturl` CHANGE `shortUrl` `shortUrl` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL;
 

julien2533

New Member
YetiShare User
Wurlie User
May 12, 2013
7
0
0
Another problem for the file sharing script.

When trying to register an account: first time it says that it's impossible to create account and propose you to try later then... then you try later, account is created, you reveive the mail, but: no way to login...
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
This is a similar issue, I've emailed a response to your email.