CGCalendar custom field causes error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cmsmsuser09
Forum Members
Forum Members
Posts: 26
Joined: Wed Apr 01, 2009 2:48 am

CGCalendar custom field causes error

Post by cmsmsuser09 »

Hi

I am using CMS Version 1.11.4 and CG Calendar version 1.10.4.
I am trying to add a custom field in CGCalendar that I can use to upload a photo. I have created a new field and set my root path to the uploads folder under settings. I have also checked the permissions to make sure they are okay.

When I try to upload a file I get the error message: 
ERROR: A problem occurred when trying to copy the file to its final destination.

The file is a jpg under 10k.
I am able to upload to this folder using image or file manager.

Thanks
Kim
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

I am having this same error after I upgraded all modules and software. Did you find out why?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: CGCalendar custom field causes error

Post by Jo Morg »

"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

thanks Jo. I have the same setup and situation as the previous post, but in my case it used to work. I started getting the error once I upgraded my software to 1.11.4.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: CGCalendar custom field causes error

Post by Jo Morg »

JackOutoftheBox wrote: I have the same setup and situation as the previous post, but in my case it used to work. I started getting the error once I upgraded my software to 1.11.4.
OK, so either you didn't read the post from the link I gave on my previous post, or you have some way to guess what setup cmsmsuser09 has, and expect us to have that same guessing ability.... or more probable: you don't know what setup cmsmsuser09 has, since he didn't provide enough data....
So here is another tip: http://docs.cmsmadesimple.org/troublesh ... nformation
Actually the whole page is filled with tips on how to get the setup data you have. Post it here: CMSMS has a link to a forum ready formated page you can copy data from and paste here.
Help us help you :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

Eek. OK. Let's start over here.



----------------------------------------------

Cms Version: 1.11.5

Installed Modules:

CMSMailer: 5.2.1
MenuManager: 1.8.5
ModuleManager: 1.5.5
Search: 1.7.8
ThemeManager: 1.1.8
Forum: 0.9.0
FrontEndUsers: 1.21.16
FormBuilder: 0.7.3
FileManager: 1.4.3
Printing: 1.1.2
CustomContent: 1.9
Play: 1.0.3
Gallery: 1.6.1
CGExtensions: 1.36
CGCalendar: 1.10.4
SiteMapMadeSimple: 1.2.7
CMSPrinting: 1.0.4
MicroTiny: 1.2.5
News: 2.12.12


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.24
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 64M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 33M
upload_max_filesize: 32M
session_save_path: /home/content/24/10250724/tmp (0705)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.96
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages


----------------------------------------------
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: CGCalendar custom field causes error

Post by Jo Morg »

JackOutoftheBox wrote: I started getting the error once I upgraded my software to 1.11.4.
From what version? Did you upload via ftp? What steps did you take to update? Did you update the modules?
For instance Forum 0.9.0 is discontinued and probably won't work properly any longer, and apparently Play 1.0.3 is on a similar situation.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

Well, this site is several years old, and I've been upgrading it manually via FTP or by extracting it on the server. I deleted the two modules you mentioned (Play and Forum) a while back, so I'm surprised they are showing. Perhaps their tables are still on the database, even though the files are no longer on the server? Could that be affecting things here?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: CGCalendar custom field causes error

Post by Jo Morg »

JackOutoftheBox wrote:I deleted the two modules you mentioned (Play and Forum) a while back, so I'm surprised they are showing. Perhaps their tables are still on the database, even though the files are no longer on the server?
Yes: The recommended method is to use uninstall from the module list page, which, if all goes well, triggers a link to completely remove the module files. So, the db entries still exist on your system.
JackOutoftheBox wrote:Could that be affecting things here?
Possible, but not likely. If the modules files were still in place that was a strong possibility. I suspect that either one or more php files got corrupted while uploaded via ftp, or something went wrong during one of the steps of the upgrade process. BTW, why not go all the way and upgrade to the latest CMSMS version: 1.11.7 “Genovesa”? Security recommends it and, IIRC, from 1.11.5 to 1.11.7 there is no change in the database.
Also recommended is to make a checksum against the data file of the corresponding version. That should make clear if there are corrupted core files.
HTH.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

Yes, I did have problems with FTP upload in the past, so this may be a leftover issue.

I've upgraded to 1.11.7 and did the checksum comparison, but still have the issue.

Do you suggest that I just do a reinstall of the entire system? I have created a workaround (just manually uploading images through the Image Manager) and then created a new field where I enter the file name.

Thanks for your time.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1967
Joined: Mon Jan 29, 2007 4:47 pm

Re: CGCalendar custom field causes error

Post by Jo Morg »

JackOutoftheBox wrote:Do you suggest that I just do a reinstall of the entire system?
I would try that, just to make sure that there are no leftovers:
  • - Do a full backup of files and Database;
  • - Reinstall, but on step 5 DON'T CREATE TABLE OR INSTALL DEFAULT CONTENT;
  • - Clear CMSMS cache;
It may not solve the issue, but at least we are excluding a few other possible causes;
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CGCalendar custom field causes error

Post by calguy1000 »

ERROR: A problem occurred when trying to copy the file to its final destination.
This message is clear and obvious. There was an error when trying to copy the file.

That means either a permissions, path, or disk space issue.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: CGCalendar custom field causes error

Post by JackOutoftheBox »

If that's the case, then why I am able to upload it to the same folder through the Image Manager? This is where I need clarity, please.
Post Reply

Return to “Modules/Add-Ons”