How to change path in Prestashop 1.3.1.1 - database

Hello i want to change path in settings/folder.
I try change it in setting.
I try change path from "/" to "/something/" click save button.
Seems OK, i get green notification, and my path is still "/".
Can i change this in database or something else is wrong ?

you need to change some data in the database
go to your database, under PS_CONFIGURATION table change PS_SHOP_DOMAIN and PS_SHOP_SSL to your registered domain. (ex. www.example.com).
go to your database, under PS_SHOPURL and change domain and domain_ssl to your registered domain. (ex. www.example.com).
im not sure in lower version of prestashop but this works for me in 1.6

Related

How do I fix a 1/2 broken DNN path?

Somehow my DNN has a broken path a particular url serves pages, but doesn't work for delete or advanced options (delivers a 404 error)
The taburls table has no entries for this tab.
If I change the url through the tabs table then I'm able to delete the page without issue.
I tried accessing the page options via tabid, but the tabid gets converted to the friendly name and then 404s.
I tried turning off friendly urls in my web.config but I may have done it wrong since the entire site would not load (yellowscreen of death)
I'm wondering where DNN is storing this path that is breaking the advanced options of whatever page is at the path.
How do I fix this url so it displays page options and lets me delete pages?
First thing I would try is going to the Admin/Page Management screen, can you make the changes you need to via that interface? If so, after making the changes, are you able to access the page and all the features/options correctly?
If that doesn't work, check the TabPath column in the TABS table to see if there are any bad paths in there for specific pages that you are having problems with.

How to set URl in ADF application....?

I have only one page in adf application, the page is called result.jspx. My requirement is - the url needs to be invoked like http://example.com/ADF_View_Test-ViewController-context-root/faces/result.jspx but when I create ear and deploy it in the weblogic server it is displaying like http://example.com/ADF_View_Test-ViewController-context-root in the url. I am unable to get faces and jspx page. please let me know how to add in the url.
Regards
Santosh
Check the contents of your EAR archive, see if result.jspx is part of it.
If is not, try to recreate deployment profile.
You can always stick an index.html file at the root that does a redirect to where you need it to go.
For example - https://blogs.oracle.com/shay/entry/shorter_url_for_your_adf

Not able to save settings in phpList admin panel

I am integrating phpList into my website. I initialized database.
I was able to integrate my website with phpList.
In admin panel whenever i try to do anything like delete member from subscriber list or change any setting for subscriber page. I am getting this error "The requested URL /index.php was not found on this server."
I know that this is the problem of path.
When user receives email it says to confirm click on this.
http://admin.ridesharebuddy.com/lists/?p=preferences&uid=TOKEN
When user clicks on this, it displays error page not found.
Because path should be something like this.
http://admin.ridesharebuddy.com/rideshare/lists/?p=preferences&uid=TOKEN
How can i change this path ?
So from what I see, you have 2 issues:
Firstly:
index.php is not being found.
This is generally because of a) an upload error, or b) missing directory traversals within the script (../../ etc..)
What we need to know is why index.php is not found, and why it is being called when you try to make a change
Secondly:
The link generated when the email is sent, is incorrect. This will just be a case of finding where the link is generated, and modifying it to generate a correct code.
If you could update the post with source for the files, then I may be able to help you further.
If you feel you can't do the above, then I suggest using a different, more mature (and better coded), mailing script for your site.

Wordpress Error: Database Update Required

I'm currently working with a client right now that clicked to update a plugin on WordPress. He's unaware of what plugin it was that he updated because he's clicked update in the past for other plugins and they just updated, so he paid little attention to what it was he clicked.
His site is still up, but when I try to get into the back end using /wp-admin I'm hit with a message that states:
Database Update Required
WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.
The update process may take a little while, so please be patient.
Update Wordpress Database
When I click on the button that says "Update WordPress Database" it does nothing. The browser spins and then shows me a blank white page with Wordpress at the top. I'm at a loss because I can't even login, it doesn't give me the option.
Any thoughts on what is happening? Thanks a bunch in advance for the assistance.
This is due to a missmatch between the databases versions you said you are using in the settings.
Please follow this steps:
Go to /wp-include/ folder and open the version.php.
Find the value for $wp_db_version, and write it down.
Now, open your database, check in the table called wp_options
Find the db_version value:
SELECT option_value FROM yourdatabase.wp_options WHERE option_name = 'db_version';
Those two values must be the same. Change it in the version.php file, not the database.
Source: http://wpquestions.com/question/showChrono/id/4151
Restarting php-fpm service helped me, it clears cache on restart
sudo service php5-fpm restart
Hope that helps some folks out there.
Try clearing your browser cache
The option db_upgraded isn’t getting set by the upgrade process.
Try this: go to /wp-admin/options.php. Fill the field db_upgraded with a 0 (zero). Hit Save Changes.
This is due to a missmatch between the databases versions you said you are using in the settings.
Please follow this steps:
Go to /wp-include/ folder and open the version.php.
Find the value for $wp_db_version, and write it down.
Open your database, check in the table called wp_options
Find the db_version value:
SELECT option_value FROM yourdatabase.wp_options WHERE option_name = 'db_version';
Those two values must be the same. Change it in the version.php file, not the database.

How to change the update-URL of a Silverlight OOB application

Once a Silverlight application has been installed as an out-of-browser application, I know I can update it by calling the Application.Current.CheckAndDownloadUpdateAsync() method. This will check the URL where the XAP was originally downloaded and update if necessary.
But what if, somewhere in the future, I would want or need to change the url of the XAP? The domain name changes, the location on my site, etc.
Is there a way of indicating where the OOB application should check for the update?
Now I know of the /origin property, but as far as I know, there's no way to set this when you let the user just install it by clicking on a button on your site (or right clicking in the application). Also, I don't know of a way of changing it at a certain point in time. Other than letting the user do it manually, that is. But that's not very user-friendly.
If it is entirely not possible, maybe a redirect could do the trick?
So is there a way to programmatically define/change the URL of a XAP?
You can not change origin url for installed OOB application. Not without asking user to uninstall and re-install application from new location. It is not all that user friendly, but it is transparent to the user.
Ideally origin url should not change during life time of the application. Using server side url rewriting (maybe redirecting too) should be fine if you would like to move xap file around. If changing domain name is unavoidable you could push an update to the users that reminds them that application moved to different domain and it needs to be re-installed.

Resources