Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Cannot duplicate projects 2 weeks 6 days ago #9417

  • takeshi
  • takeshi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 30
  • Thank you received: 1
Hi, since upgrading from 3.11 to 3.12 a few months ago, it appears that "Duplicate" projects function is not working correctly on our installation. A new "Copy of ..." entry with a new ID is created in the Workspace, but when previewed it is completely blank and the editor will not load either. This has been tested on projects by the creator, in a fresh browser instance.
For info, the upgrade was done the "easy" way, unzipping/overwriting the Xerte folder on the server with the new files, and running upgrade. Creating new projects from scratch still works ok.
Any advice on how to address this issue would be greatly appreciated. Thanks in advance.

Please Connexion or Create an account to join the conversation.

Last edit: by takeshi.

Cannot duplicate projects 2 weeks 6 days ago #9419

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1317
  • Thank you received: 326
Hi Takeshi,

What version of 3.12 are you using? I just tried the lastest 3.12 (v3.12.33-2) and that seems to work fine.

You could also set $developer to true on line 43 of the file config.php and check error_logs/debug.log and your normal apache error logs for errors.

Please Connexion or Create an account to join the conversation.

Cannot duplicate projects 2 weeks 5 days ago #9424

  • takeshi
  • takeshi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 30
  • Thank you received: 1
Thanks Tom. I'm using 3.12 (v3.12.33-2) too. I looked at my log file in error_logs and found these with a "major" error from when I tried to duplicate ID 2227 and it created the blank ID 2251:

<p>10:14:55 - 16/01/2025 SUCCESS<Br>Created new template record for the database<Br>INSERT INTO templatedetails (creator_id, template_type_id, date_created, date_modified, access_to_whom, template_name, extra_flags) VALUES (?,?,?,?,?,?,?) INSERT INTO templaterights (template_id,user_id,role, folder) VALUES (?,?,?,?)</p>
*
<p>10:14:55 - 16/01/2025 MAJOR<Br>Failed to set rights on file<Br>Failed to copy file /home/[redacted]/public_html/xerte/USER-FILES/2227-takeshi-Nottingham/data.xml.1 /home/[redacted]/public_html/xerte/USER-FILES/2251-takeshi-Nottingham/data.xml.1</p>

I guess there is some issue with file permissions? Can you advise what permissions I should check? Many thanks.

Please Connexion or Create an account to join the conversation.

Cannot duplicate projects 2 weeks 5 days ago #9425

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1317
  • Thank you received: 326
The folder USER-FILES should be writable by the user that runs Apache
On Ubuntu that would be user www-data.

Please Connexion or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.045 seconds
Copyright © 2025 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search