Report any technical problems you discover and discuss solutions.

Cannot duplicate projects

  • takeshi
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
1 jaar 6 maanden geleden - 1 jaar 6 maanden geleden #9417 door takeshi
Cannot duplicate projects werd gestart door takeshi
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.
Laatst bewerkt 1 jaar 6 maanden geleden door takeshi.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
1 jaar 6 maanden geleden #9419 door tom
Beantwoord door tom in topic Cannot duplicate projects
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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • takeshi
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
1 jaar 6 maanden geleden #9424 door takeshi
Beantwoord door takeshi in topic Cannot duplicate projects
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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
1 jaar 6 maanden geleden #9425 door tom
Beantwoord door tom in topic Cannot duplicate projects
The folder USER-FILES should be writable by the user that runs Apache
On Ubuntu that would be user www-data.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.136 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo