Make a change in global area
Permalink
I want to change the copyright date in the footer ofhttp://www.ewarenow.com.
I get this message when I try to edit it.
This block is contained within a global area. Changing its content will change it everywhere that global area is referenced.
I cannot figure out how to even FIND the global area. Please relieve my ignorance. :-)
I get this message when I try to edit it.
This block is contained within a global area. Changing its content will change it everywhere that global area is referenced.
I cannot figure out how to even FIND the global area. Please relieve my ignorance. :-)
That's a great help. Thanks. But I need more.
I am trying to change the copyright notice from being 2014 to 2014-2016.
The first attachment shows the current content; the second shows what I am trying to change it to.
I clicked the Approve button.
But the change does NOT appear in the footer.
P.S. The first time I did this, I got a message about an unexpected error that it could not save something.
P.P.S: When I log into Concrete 5 and it looks for updates, I get a message that MySQL has gone away. Is that relevant to this/
I am trying to change the copyright notice from being 2014 to 2014-2016.
The first attachment shows the current content; the second shows what I am trying to change it to.
I clicked the Approve button.
But the change does NOT appear in the footer.
P.S. The first time I did this, I got a message about an unexpected error that it could not save something.
P.P.S: When I log into Concrete 5 and it looks for updates, I get a message that MySQL has gone away. Is that relevant to this/
it sounds as though you have a problem with your mysql database - this is why you cannot make the change and why you are getting the 'gone away' message.
I'd log a call with your host if I were you. It sounds like your website is likely just serving cached content at the moment so you need to get your database back and available to C5.
I'd log a call with your host if I were you. It sounds like your website is likely just serving cached content at the moment so you need to get your database back and available to C5.
Hi Andy,
I logged in to the hosting website with my admin account. The database is there and intact. I think the password to it got changed recently -- and know the new one.
Is there some place in Concrete5 where I can tell it the password to MySQL?
I logged in to the hosting website with my admin account. The database is there and intact. I think the password to it got changed recently -- and know the new one.
Is there some place in Concrete5 where I can tell it the password to MySQL?
hi - you cannot change it directly via the website - it is held in plain text in:
/application/config/database.php
be careful not to mess up the syntax of the entry in the file.
/application/config/database.php
be careful not to mess up the syntax of the entry in the file.
Hi Andy,
Well it looks like the database.php file is missing.
In the first attachment, you can see that there is no such file under Config.
In the second one, there is a database.php file in Libraries, but it's a skeleton with no useful content -- much less a connection string.
What do you suggest?
Best Regards and Thanks,
Doug
Well it looks like the database.php file is missing.
In the first attachment, you can see that there is no such file under Config.
In the second one, there is a database.php file in Libraries, but it's a skeleton with no useful content -- much less a connection string.
What do you suggest?
Best Regards and Thanks,
Doug
That directory structure looks weird to me. If it's 5.7, you should have an 'application' directory at the same level as 'concrete'. That's the area AndyJ was referring to.
Hi Doug,
I'm sorry - I've given you duff info. I assumed you were running 5.7 for some reason.
You should have a /config/site.php and that will hold your db connection info.
I'm sorry - I've given you duff info. I assumed you were running 5.7 for some reason.
You should have a /config/site.php and that will hold your db connection info.
Hi Andy,
Can I just change DB_PASSWORD in Site.php or will the password salt also need to change?
Can I just change DB_PASSWORD in Site.php or will the password salt also need to change?
Hi Doug,
remove the above post asap - you've just given the whole world your user id's password, salt etc
remove the above post asap - you've just given the whole world your user id's password, salt etc
hi again,
you are really going to have to change your database name, database user and your database password as they are now compromised.
you are really going to have to change your database name, database user and your database password as they are now compromised.
Hi Andy,
How do I change them?
How do I change them?
this is getting a little sticky - if you don't know how to change them then you probably shouldn't be attempting to.
Like I said before - remove the above post.
If this were me - I think I'd take a backup of the database and re-install so all of the credentials etc are new.
However, you do need to be fully aware of what you are doing as there is obviously a risk of losing your whole site if you do it incorrectly.
The problem is anyone in the world could have seen that post above and can now log into your database, they can have any of the info from that database including your user id's and they also have your password salt. Someone can completely hijack your site, lock you out and do anything they want.
Like I said before - remove the above post.
If this were me - I think I'd take a backup of the database and re-install so all of the credentials etc are new.
However, you do need to be fully aware of what you are doing as there is obviously a risk of losing your whole site if you do it incorrectly.
The problem is anyone in the world could have seen that post above and can now log into your database, they can have any of the info from that database including your user id's and they also have your password salt. Someone can completely hijack your site, lock you out and do anything they want.
you need to at least get a copy of the website including the database downloaded and into your ownership asap.
Hi Andy,
How do I remove the post?
Sorry I'm asking so many dumb questions!!!
How do I remove the post?
Sorry I'm asking so many dumb questions!!!
don't worry - not dumb. You probably can't remove but you should eb able to edit the post and remove all of your text from it
Hi Andy,
Yup. That worked. And I am busy making a backup of everything.
Regarding the fix. I can get into MySQL and make the changes.
Then I can get into Site.php and make the same changes.
But that leads to my question about the password salt. How do I handle that?
Yup. That worked. And I am busy making a backup of everything.
Regarding the fix. I can get into MySQL and make the changes.
Then I can get into Site.php and make the same changes.
But that leads to my question about the password salt. How do I handle that?
Just changing the site password is sufficient. By salt he is probably referring to the hashed version of your site password, as they are usually not stored as plain text. So changing the site password should change the salt.
Thanks. That solved the problem with changing the password
dashboard > stacks and blocks
and then select 'View Global Areas' from the dropdown that is defaulted to 'View Stacks' .
However, the message is just warning you that if you do change it (on the page you are on) it will change everywhere in the site it is used. If that is the desired result then you can just make the change.