Page 1 of 1

Upgrade problems with uploads module

Posted: Sat Mar 24, 2007 11:36 pm
by daik
hi all,
I upgaded my cms to the latest version yesterday. In the upgrade I also put in the latest uplodas module. When I first ran my page with uplodas I got an error about some template not being found. I did not worry about it then, and just commented all calls to the uploads module out. I tried to solve it today and this is the message I get today (it is different from yesterday..)

Code: Select all

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /serverpath/tmp/templates_c/Uploads^%%5C^5C4^5C4A1D62%%module_db_tpl%3AUploads%3Bsummaryrpt_Summary.php on line 4
Any suggestions as to where I should start looking and anything that has changed dramatically between uplodas 1.1.14 and 1.3 that may be causing problems for me?

regards
Daniel

Re: Upgrade problems with uploads module

Posted: Tue Mar 27, 2007 4:00 pm
by calguy1000
try clearing the server cache and see what happens.

Re: Upgrade problems with uploads module

Posted: Wed Mar 28, 2007 10:59 am
by daik
I did that, and that particular problem went away. What emerged was somewhat odder.
Now nothing appears at all, I am using the default "summary" template.
I went in and checked the category I wass using, and it had one file listed (it was there before the upgrade). I thought I'd give it a go and upload a new file. The file upload went fine, as far as I can tell. BUT the file is never listed inside the uploads module admin page. I then logged in with ftp and there is the file.

I am begining to sense that it is an upgrade gone a bit wrong. Is there something I can do that would give more information to better diagnose this problem? I am totally at loss. I would prefer not to delete my database tables, but if that is the best way, that is the best way..

Re: Upgrade problems with uploads module

Posted: Sat Apr 07, 2007 5:31 am
by daik
I have now managed to solve this problem. Not in the best way I must admit but it seems that it was the only way. I post the solution so that others that may find this thread get the solution as well.
What I did was that I removed the entire installation of the uploads module (uninstall + remove from the modules page).
I then reinstalled it, recreated all my categories and went through and "scan"ed each of the categories so it would pick up the files that were present.

I think this issue arose because I upgraded CMS MS AND uploads in the same ftp session (i.e I did not ugrade CMS MS and then logged in and checked the modules, saw that an update was needed and uploaded the new version). I don't know for sure if this is the case. Either way I have now got it working.

Re: Upgrade problems with uploads module

Posted: Fri Apr 13, 2007 2:47 am
by boscopup
This is the same problem I'm having. Someone suggested checking for DATETIME fields in the database, but mine are correct. I've tried your solution (uninstalling + removing Uploads, installing, creating new category and scanning the category), and mine still isn't working. It's not showing the scanned files. It flashes the file list and then disappears. :(

Re: Upgrade problems with uploads module

Posted: Fri Apr 13, 2007 3:14 am
by boscopup
Well, mine is working now. I just had to completely delete the categories and re-upload all the files manually.