• Home
  • Get help
  • Ask a question
Last post 4 hours 8 min ago
Posts last week 81
Average response time last week 4 hours 29 min
All time posts 67929
All time tickets 10501
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#6830 – Not saving the title and description.

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 20 December 2019 23:01 UTC
ciamparini
Sorry but I have a really urgent matter. We have to put the site online tonight but it's not saving the title and description.
This is the site
https://www.xxxx.com
I created a superuser
user xxxx
password xxxx
Many many tanks for your help
 
Monday, 23 December 2019 08:31 UTC
wb_weeblr
Hi

There is an error happening when saving the data:

1054 Unknown column 'og_custom_description' in 'field list


This means that when last version was installed, sh404SEF database tables structure was not properly updated and is missing the 'og_custom_description" column. I tried installing the latest dev version but that did not fix the issue yet.

What's really odd is that there's no error showing during the installation. If the addition of the "og_custom_description" was failing, this would show during installation.

1 - What's the history of the site? is this a brand new site where sh404SEF was installed for the first time?
2 - Did you restore any sh404SEF data from a previous version of the site?
3 - Can you provide PHPMyadmin access or equivalent?

Best regards

 
Monday, 23 December 2019 13:23 UTC
ciamparini
1 - It is installed for the first time here
http://xxxx.com/scuolasci/
with a yootheme quickstart and sh404 installed for the first time. Enter here too with user xxxx and password xxxx. Already here the same error occurs in sh404.
Then with an akeeba backup the site was moved here https://www.xxxx.com/
2 no
3 yes
http://phpmyadmin.cvh0458.ergonet.host/index.php?db=&table=&server=1&target=&token=16f50abebb5ff6c5f5b087860b4c37c6

user xxxx
pasw xxxx

thank you
 
Monday, 23 December 2019 14:54 UTC
wb_weeblr
Hi

1 -
- It is installed for the first time here

http://xxxx.com/scuolasci/
Is this on the same server as https://www.xxxx.com/?

2 - The table structure is indeed incorrect. It's missing not only og_custom_description but also several more fields that were added in last version. I think this is happening because of the MYSQL version, 5.5. It should be ok but it seems this server does not make the changes sh404SEF tells it to do when modifying database table structure.
I'll dig more into it and get back to you.

Best regards
 
Monday, 23 December 2019 15:30 UTC
wb_weeblr
Hi

So I think I found the problem, your mysql server 5.5 did not like the latest addition of raw content fields. I have changed the raw content fields content type to Medium text and that seems to work better (tested on http://xxxx.com/scuolasci/).

You can download a modified version from the [download area] and install on your main site.

Let me know.

Best regards
 
Monday, 23 December 2019 21:25 UTC
ciamparini
Unfortunately it doesn't work here yet:
https://www.xxxx.com/
While it works if I update sh404 on other sites on the same server. I believe we will have to clear the tables in the database here and then reinstall sh404.
Best Regards
 
Monday, 23 December 2019 21:28 UTC
wb_weeblr
Hi

Can't say much as I did not look at the tables on that site. However it seems pretty odd that just one site does not work.

Is this with the very latest sh404SEF, 4.18.2, published today?

Best regards



 
Monday, 23 December 2019 22:14 UTC
ciamparini
Yes latest version published today: 4.18.2.3981
You have the access data and you can check it yourself. The site is the one that originated my ticket.
 
Tuesday, 24 December 2019 09:13 UTC
wb_weeblr
Hi

This is a mysql server issue, nothing can be done from inside Joomla. At minimum, I would need phpmyadmin access.
Also, it would need to be a higher level access to phpmyadmin, for your other site, I could not access the users and check their permissions.
It still looks like your db user cannot ALTER db tables.

Regards
 
Tuesday, 24 December 2019 15:00 UTC
ciamparini
Problem solved!
I uninstalled sh404SEF, then from phpmyadmnin I deleted all sh404SEF tables from the database. So I reinstalled sh404SEF and to my surprise it remained configured like the previous one.
Even the code that I had pasted into the new raw head bottom bottom field! Magnificent!!!
I take this opportunity to ask you if it is ok to paste in this way the facebook pixel code like I did here:
https://www.xxxx.com/
Check the source code please.

Finally I ask you one last thing: how did you understand that the error was this:
1054 Unknown column 'og_custom_description' in 'field list

I have not succeeded neither by activating the joomla error function on maximum or by looking at the error log on the server.

Endless thanks for your work and best wishes for a wonderful Christmas!
 
Thursday, 26 December 2019 12:48 UTC
wb_weeblr
Hi

So I reinstalled sh404SEF and to my surprise it remained configured like the previous one.
As it's kinda easy to uninstall an extension by mistake (a single click in the wrong place), sh404SEF automatically saves is entire configuration in a file (in the /media/directory) and reloads it upon installing back. It's been like that since Joomla 1.0. If you want configuration to be reset, you can do so by going to "Advanced" configuration and enable/disable which parts of sh404SEF data you want to keep when uninstalling.
For instance, you can tell it to delete all db tables when uninstalling, so that you don't have to do it by hand.

I take this opportunity to ask you if it is ok to paste in this way the facebook pixel code like I did here:
That's exactly for that kind of usage this feature is for, for all those extra code that sh404SEF does not handle with its own UI but you still need to insert in your pages.

Finally I ask you one last thing: how did you understand that the error was this:
The saving that was failing is done through ajax. By opening the chrome dev tools, on the "Network" tab, you can see all AJAX requests made by the page at any time (under the XRH sub-tab). For each ajax request you can see:
- which request is made (URL, parameters)
- requests and response from server headers and status code
- full content of the response.

In your case, instead of the regular JSON ajax response, I could see Joomla replying with an error page showing the error message (setting Error display in Joomla still required to view the actual message).

Glad you sorted it out. There's still something unclear here, as sh404SEF should have been able to fix the existing tables after installing again.

Best regards
 
Friday, 10 January 2020 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.