[solved] Uploads module error array_to_hash
[solved] Uploads module error array_to_hash
Just upgraded from 1.6.6 -> 1.8.2 and installed the Uploads module. Getting this error when calling the page using mode="upload":
Fatal error: Call to undefined method Uploads::array_to_hash() in D:\workspace\Adikat\modules\Uploads\action.upload.php on line 79
CMS Version 1.8.2
Current PHP Version (phpversion): 5.2.9-2
Installed Modules
CMSMailer 2.0
FileManager 1.0.2
MenuManager 1.6.5
ModuleManager 1.4
News 2.10.6
nuSOAP 1.0.2
Printing 1.1.0
Search 1.6.5
ThemeManager 1.1.1
TinyMCE 2.7.2
CGExtensions 1.19.5
Paypal 1.0.0
RequestQuote 1.0.0
SMS2 1.0
Members 1.0.2
GoogleCheckout 1.0.0
Contacts 1.0
ShopMadeSimple 0.2.5
CGSimpleSmarty 1.4.3
CompanyDirectory 1.4.1
FrontEndUsers 1.6.9
CartMadeSimple 0.2.2
FormBuilder 0.5.12
ModuleMaker 0.3.1
Pricing 1.0.0
API 1.0.0
ShortCode 1.0
CGBlog 1.3.2
Cron 0.0.1
Logger 1.0.0
Uploads 1.11.4
Fatal error: Call to undefined method Uploads::array_to_hash() in D:\workspace\Adikat\modules\Uploads\action.upload.php on line 79
CMS Version 1.8.2
Current PHP Version (phpversion): 5.2.9-2
Installed Modules
CMSMailer 2.0
FileManager 1.0.2
MenuManager 1.6.5
ModuleManager 1.4
News 2.10.6
nuSOAP 1.0.2
Printing 1.1.0
Search 1.6.5
ThemeManager 1.1.1
TinyMCE 2.7.2
CGExtensions 1.19.5
Paypal 1.0.0
RequestQuote 1.0.0
SMS2 1.0
Members 1.0.2
GoogleCheckout 1.0.0
Contacts 1.0
ShopMadeSimple 0.2.5
CGSimpleSmarty 1.4.3
CompanyDirectory 1.4.1
FrontEndUsers 1.6.9
CartMadeSimple 0.2.2
FormBuilder 0.5.12
ModuleMaker 0.3.1
Pricing 1.0.0
API 1.0.0
ShortCode 1.0
CGBlog 1.3.2
Cron 0.0.1
Logger 1.0.0
Uploads 1.11.4
Last edited by irish on Thu Sep 23, 2010 3:20 pm, edited 1 time in total.
Re: Uploads module error array_to_hash
I had the same problem. The reason was, that I didn' use the right parameters. I forgot the "category". Hope that helps.
Re: Uploads module error array_to_hash
Thanks for the reply, I am using a category parameter.
cms_module module="Uploads" category="ContactsUpload" mode="upload"
cms_module module="Uploads" category="ContactsUpload" mode="upload"
-
- Forum Members
- Posts: 92
- Joined: Mon May 14, 2007 11:31 am
Re: Uploads module error array_to_hash
same problem here. The code
{content_module module="Uploads" category="verslagen" mode="uploads"}
gives an error or doest show up at all.
Is there a working tag combination on the latest releases?
thanx in advance
{content_module module="Uploads" category="verslagen" mode="uploads"}
gives an error or doest show up at all.
Is there a working tag combination on the latest releases?
thanx in advance
-
- Forum Members
- Posts: 92
- Joined: Mon May 14, 2007 11:31 am
Re: Uploads module error array_to_hash
kinda gives this error: Fatal error: Call to undefined method Uploads::array_to_hash() in /home/HX0058/domains/klemtoon.org/public_html/steinerschoolgent/modules/Uploads/action.upload.php on line 79
with this code: {cms_module module='Uploads' mode='upload' category="verslagen" template="default"}
anyone?
with this code: {cms_module module='Uploads' mode='upload' category="verslagen" template="default"}
anyone?
Re: Uploads module error array_to_hash
It looks like CGExtensions back in version 1.19 has a function definition for array_to_hash , which is used by Uploads in 4 places but is missing in the latest CGExtensions 1.19.5
Dont know why it was removed but in version 1.19 its marked as to do remove
it looks like CG finally got areound to removing them in 1.19.5
Uploads will need to be changed to do without it
Dont know why it was removed but in version 1.19 its marked as to do remove
it looks like CG finally got areound to removing them in 1.19.5
Uploads will need to be changed to do without it
Re: Uploads module error array_to_hash
I reported a ticket for this module #5432. --> http://dev.cmsmadesimple.org/bug/view/5432
-
- Forum Members
- Posts: 92
- Joined: Mon May 14, 2007 11:31 am
Re: Uploads module error array_to_hash
it works, updates available. Thanx Calguy!!!
Re: Uploads module error array_to_hash
I upgraded to the latest version uploads 11.5. Unfortunately I cannot figure out how to use the download function. It tried it like this, but it doesn't work. I don't see any files at all.
{cms_module module="Uploads" mode="download" category="Standard"}
Any help? Thanks.
{cms_module module="Uploads" mode="download" category="Standard"}
Any help? Thanks.
-
- Forum Members
- Posts: 92
- Joined: Mon May 14, 2007 11:31 am
Re: Uploads module error array_to_hash
mode=download doesnt excist isnt it?
i think its upload
i think its upload
Re: Uploads module error array_to_hash
mode='upload' is for allowing an FEU to upload a file.vzw klemtoon wrote: mode=download doesnt excist isnt it?
i think its upload
how about mode='url' or mode='link' if you want to provide a file for download
Re: Uploads module error array_to_hash
Still cannot figure out, how to write the correct statement, if i want to show downloadable files in category "Standard". Does anyone know the correct syntax? Could there still be an error in the uploads module? Thanks for further information.
Re: Uploads module error array_to_hash
{cms_module module='Uploads' category='Standard' mode='summary' summarytemplate='yoursummarytemplatenamegoeshere'}dango wrote: Still cannot figure out, how to write the correct statement, if i want to show downloadable files in category "Standard". Does anyone know the correct syntax? Could there still be an error in the uploads module? Thanks for further information.
Re: Uploads module error array_to_hash
issue fixed, update to latest version uploads 1.11.5.