21
gediminasbyt
Re: Can't upload Images

Finally I did figure out on what is going on (partially). The mimetypes_perms file is controlled by xoopsinfo module and does not matter if you do enable in the module itself these extensions you must also check within xoopsinfo. I don't get it why do you have to define the same thing in 2 places? I still do have some problems uploading.Certain mime types as it does look like in one place image/png is not the same somewhere else...

Just curious is this the default/designed behavior of xoopsinfo?



22
gediminasbyt
Re: Looking for developers for XoopsGallery embeding

I guess it's not that easy to integrate if there is not a single soul that would be willing to do that...



23
gediminasbyt
Can't upload Images

# XOOPS Version : XOOPS 2.0.16
# XOOPS Theme : default
# XOOPS Template Set : default
# PHP Version : 5.1.2
# MySQL Version : 5.0.24a-standard-log
# Server Software : Apache/2.0.54 (Unix) PHP/4.4.4 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.3.2
# User's Browser : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

In Admin->Images created new category (the only one) with max 100000 bytes and 800x800 try to upload 100x100 image and get error:
File width must be smaller than 80
File height must be smaller than 80

Tried to recreate folder with both file and db storage and always same results. There are 2 tables in DB that I can't track down to what module had created and uses them. These 2 tables are not in another XOOPS install.

xoops_mimetypes
xoops_mimetypes_perms

xoops_mimetypes has 80 mimetypes, however perms is kind of confusing and has only 12 entries

mperm_id mperm_mime mperm_module mperm_groups mperm_status mperm_maxwidth mperm_maxheight mperm_maxsize
1     8     1     1     1     80     80     35000
2      8      1      2      1      80      80      35000
3     15     1     1     1     80     80     35000
4     15     1     2     1     80     80     35000
5     21     1     1     1     80     80     35000
6     21     1     2     1     80     80     35000
7     22     1     1     1     80     80     35000
8     22     1     2     1     80     80     35000
9     23     1     1     1     80     80     35000
10     23     1     2     1     80     80     35000
11     39     1     1     1     80     80     35000
12     39     1     2     1     80     80     35000


When I changed the max size to 800x800 and size to 350000 I was able to upload files in ImageManager. Does anybody have an idea where and by what these two tables are controlled by? I've checked and debuged and there is nothing that would show the source of the problem.

I've rechecked every hack that was made to site and everything does look the same. There aren't that many hacks and I've tried disabling most of them by reverting to original files.

From other modules I do get error:
Errors Returned While Uploading
Error loading mimetypes definition



24
gediminasbyt
Re: Article 1.0 can't upload images

Closing this topic as invalid. There seem to be XOOPS core issues. I'll reopen a new case.



25
gediminasbyt
Re: Article 1.0 can't upload images

Bump.

Had re-downloaded and reuploaded ALL files - article, Framework, class.



26
gediminasbyt
Re: Article 1.0 can't upload images

Nope, no luck.

For some reason I can't upload any images to Category nor Article. Picture manager within XOOPS works fine. No errors are issues with XOOPS and article debug.

what are 2 db tables used by and what module does create them as with XOOPS 2.0.16 plain install I don't see those tables.

xoops_mimetypes
xoops_mimetypes_perms

xoops_mimetypes is full of mimetypes, however perms is kind of confusing and has only 12 entries

mperm_id mperm_mime mperm_module mperm_groups mperm_status mperm_maxwidth mperm_maxheight mperm_maxsize
1     8     1     1     1     80     80     35000
2      8      1      2      1      80      80      35000
3     15     1     1     1     80     80     35000
4     15     1     2     1     80     80     35000
5     21     1     1     1     80     80     35000
6     21     1     2     1     80     80     35000
7     22     1     1     1     80     80     35000
8     22     1     2     1     80     80     35000
9     23     1     1     1     80     80     35000
10     23     1     2     1     80     80     35000
11     39     1     1     1     80     80     35000
12     39     1     2     1     80     80     35000


What table is this referring to and where is it used. I haven't found any traces within the XOOPS nor article...

Thanks.



27
gediminasbyt
Re: Article 1.0 can't upload images

XoopsInfo mimetypes are allowed. I will try to re-download Framework and re-upload a fresh copy.



28
gediminasbyt
Re: Looking for developers for XoopsGallery embeding

irmtfan,

Yes extgallery maybe the best XOOPS module available yet... but it does not satisfy my needs therefore I am asking for help. Every other CMS has integrations with gallery therefore I was asking for some help there. I can provide a small contribution for it.



29
gediminasbyt
Re: Article 1.0 can't upload images

irmtfan,

thanks but as I mentioned in description:

article/images and uploads/article (and subfolders) are chmodded 777. I have created these paths.



30
gediminasbyt
Re: Article 1.0 can't upload images

Just tried to install smartsection 2.12RC1 and tried to upload image for category. Getting this type of error:

_AM_SSECTION_FILEUPLOAD_ERROR
Errors Returned While Uploading
Error loading mimetypes definition

Mime types within smartsection and article are allowed, tried small size jpg, png images. For some reason something else is failing. Looks like xooops core is not loading mimetypes definitions.




TopTop
« 1 2 (3) 4 5 6 ... 41 »



Login

Who's Online

172 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits