hi i m upgrading a site to joomla 5, (on joomla 3 everything was ok with imports)
but the same template pn the new site (same hosting same everything)
i get error
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#1501
#message: "Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 51008864 bytes)"
#code: 0
#file: "./public_html/username/libraries/vendor/laminas/laminas-diactoros/src/Stream.php"
#line: 234
-error: array:4 [
"type" => 1
"message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 51008864 bytes)"
"file" => "/home/username/public_html/folder/libraries/vendor/laminas/laminas-diactoros/src/Stream.php"
"line" => 234
]
}
can you please help
Hi,
(same hosting same everything)
Not really the same, you switched Joomla from 3 to 5 ;) I would also think that you switched PHP versions because you cannot run Joomla 5 on PHP 7.4.
The error you posted doesn't really tell us anything other than that you ran out of memory at 128MB. Is the memory setting the same for the PHP setup as before?
Other than that, you will need to provide more info as to when does it happen, what are you importing and the full debug info. This is only the last part of it but there should be a stack trace as well. This is usually on the second tab on the error page.
Let me know and we can check what is going on.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
i have set php.ini on php 8.3 as i had it on 7.4
i made a little test, and a template that is running from administrator RUN template
on cron get that error
also this template has no image proccess (i checked with and with out)
so now any ideas?
Hi,
I still have very few ideas. No idea where it stops although with an out of memory it is usually random because you never know when you run out of memory. That it works via the administrator is explainable because the import is restarted every x items. A cron job runs continuous.
The first thing that comes to mind is that the php used for the cron job is not the same one used for the webservice. They often have different php.ini settings. Can you give the cron job more memory?
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
i have done multiple tests playing with the template, i cant understand i attach the template here if you find sth
my memory limit is to 1g now still same issue
in increased some values on php and finally worked but now i get this
[ERROR] Duplicate entry '0' for key 'PRIMARY'
Hello,
Post latest import debug log to check. Make sure to increase Number of lines in log file in RO CSVI Config page to number of lines in import file. That way I can see the query which breaks and gets this duplicate entry error from debug log. To get debug log see How to collect debug information? document.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
never mind
fixed it
the vendor xml had some dublicates id and the all thing didnt work
i fixed it with a little code to remove dublicates
thanks
Log in to reply to this topic.