Went into my site and the site would not load. I had my friend look at the site and here is what he told me.
"I had to upload Drupal core files for version 5 and reconnect everything.
The previous user id’s and passwords should all work, there may be some missing data as I did have to pull one of the database files from back up so the site will have to be checked for integrity/links etc."
After he did that, the page was back up and running but editing tools were missing. In the edit mode, the page only shows html and no visual editing.
I also have not been able to access a page containing a calendar that was there before as a link from the home page.
Here is the URL - www.kntram.com. Any help would be very much appreciated.
The Wysiwyg (or similar editors like FCKEditor and TinyMCE) modules have probably just been deactivated when your friend replaced data in the database.
If you can, go to the Admin -> Site Building -> Modules page and reactivate the module (if it's missing, follow the link to download it, and upload it to the "modules" folder of your website).
If it's already activated, check the roles permissions in Admin -> User Managagement -> Permissions because the role your user belong to simply may not have the permission to use the editor activated.
Related
I am writing a command line application that produces an index.html with links to other generated HTML files, but also some links to filesystem subdirectories. Here is an example of such a link:
Invoices
The intention for sharing this content is for the user to zip up the directory tree and send it to other parties for review. However, some users might think to use ngrok, or use screen sharing, to share their web browser to allow other people to access their local system. With ngrok they would be running a web server and might be able to configure the web server to protect against this, but with screen sharing that would not be possible. (Consider the case where a user might leave their web browser open to the remote user and step away, not realizing that the remote user can now examine their entire filesystem.)
The problem is the "Parent Directory" links. Using those links, the others could navigate above the intended directory root and navigate their entire filesystem. Here is an image to illustrate:
The directories linked to can have arbitrary numbers and levels of subdirectories, so hard-coding links on custom pages would probably be prohibitively complicated.
There is no web server involved here; the files are displayed by just opening index.html in a web browser, so .htaccess is not a solution. Also, I don't want to disable navigation, I only want to limit its upper bound.
Is there a way to prevent this access?
If there is no web server involved at all, there is no way to prevent that behaviour.
Edit:
You could of course write a browser plugin that limits the access to the parent directory using JavaScript. But every client would have to install that plugin.
I recently had a developer populate a WPLMS site for me hosted on my HostGator account.
www.midwifecafe.co.za
I did explain at the time that I wanted the site developed my main url
www.midwifecafe.com
I would then simply setup a re-direct from the .co.za to the .com domain.
The site was developed on the .co.za url and the developer now tells me he cant manage to have the site hosted on the main .com url
He now left high and dry, he's been paid and wont help anymore.
I am unsure what to do? Is this a problem or something I can resolve?
Would appreciate any advice.
First of all, that developer is a jerk. This should take him 10 minutes max to do, assuming he knows how (he probably doesn't). Sorry for your bad experience.
The ultimate answer depends on a few things, like how your site is setup, etc. However generally, one of my favorite tricks for this is a little script called Search Replace DB --https://github.com/interconnectit/Search-Replace-DB.
Here's what you do:
BACKUP EVERYTHING. Yes, EVERYTHING
Move your site files to the new host, where the .com version will live.
Move your database to the new host
Edit your wordpress site's wp-config.php file to use the new host database information for dbname, user, password, and server (probably localhost on Hostgator).
Upload the search replace db folder to the root of wordpress, then access the folder in your web browser. Follow the prompts to fill in what you want to search for (www.midwifecafe.co.za) and what you want to replace it with (www.midwifecafe.com). If you're not familiar with Github, you can download the search replace script here: https://github.com/interconnectit/Search-Replace-DB/archive/master.zip, which you'd then upload to your server in it's own folder and unzip it
If you run into issues, first you have a backup (see step 1), secondly you can run through their github page for tips and help.
Once the search and replace for the domain name runs successfully, you'll want to do two things.. DELETE THE Search Replace FOLDER. This is super important. Leaving it there is a big-time security risk. And lastly, you'll probably need to login to WordPress admin and visit the Settings > Permalinks page to generate the proper URLs on your new host.
Hopefully that's some help! Good luck!
I would then simply setup a re-direct from the .co.za to the .com
domain....
Doesn't work that way with WordPress. But it is straightforward to move a WordPress site from one domain to another; it involves changing the URLs in the database. That's the most critical part.
But a move may also involve moving files at your host (this depends on your hosting setup) from one folder to another; you didn't say if you are staying on the same host or moving to another host at the same time as the domain change
Read the official docs Moving WordPress « WordPress Codex and take a look at WordPress Serialized PHP Search Replace Tool, which it sounds like you will need.
I think from your question which was not completely clear, that you want to me your wordpress website from one domain to another.
If so you can do the below manually:
Download all the files from your old domain
Upload the downloaded files onto your new domain
Export database from old domain account.
Go to new hosting account, create a new database with username and
password.
Open up PHPMyAdmin and Import the database that you exported into
the newly created database.
Open up phpmyadmin an and go to the wp_options table. Replace the
site url and home url rows with your .com domain address.
Then open up SQL option in phpmyadmin and run the following:
UPDATE wp_posts SET guid=REPLACE(guid,'www.midwifecafe.co.za','www.midwifecafe.com'); UPDATE wp_posts SET post_content=REPLACE(post_content,'www.midwifecafe.co.za','www.midwifecafe.com');
Now open up your wp-config.php file in ftp and edit it to suit the
new database name, username and password. For additional measures
you can also add the below to wp-config.php:
define('WP_HOME','http://www.midwifecafe.com');
define('WP_SITEURL','http://www.midwifecafe.com');
Check your .htaccess file and make sure there is no mention of your
old domain.
Now run your website and see if that fixed your issues.
if i just copy the jira wallboard url and paste it into an iframe the content is obviously not displayed because you need login permission to see the Jira wallboard.
How can i display urls which are cross browser protected by a login?
I came across the OpenID authentication but i just dont understand a word.
Regards
151
You can open up the System Dashboard to anonymous users (people not logged in) to bypass the requirement to login: edit the "Browse Projects" permission to include the group "Anyone" (Issues -> Permission Schemes) and edit the Permission Scheme of the projects whose content is included in the System Dashboard. You can edit the System Dashboard itself in System -> System Dashboard (under heading User Interface).
Unfortunately at the moment it seems there's some problems with viewing wallboards or dashboards in Jira 7, but you can see if it works for you.
I'm making a webapp for members of my caving club to search through and view cave survey note PDFs. It works fine, and I got the AppCache working for the web version of it.
However, since the PDFs are quite large and slow to download, and many members have the PDFs on their local machines from the same SVN the website gets them from, it would be ideal for them to be able to use a page with links to a local SVN folder of their choosing.
The design goals:
The site displays links to PDF files on the local filesystem
Whenever I add features to the site, users get them automatically the next time they open the page and they're connected to the internet
But after the first time they open the page, the site works offline.
Sadly web browsers don't appear to support this useful combination of design goals at once.
I can satisfy #1 by having users download a copy of the site, add their local SVN path in a JS, and open their local copy in the browser, so that file:/// links work.
I can satisfy #2 by having absolute links to JS bundles on the server.
I can satisfy #3 by using the AppCache.
I thought I could get clever by having the copy of the page on the local file system have <html manifest="https://myserver.com/myapp.appcache">, but unfortunately Chrome doesn't seem to allow a local file to use an app cache manifest hosted on a server, for seemingly no good reason to me.
Does anyone know of another way I could satisfy all 3 goals?
Perhaps there's some simple program/config I could give my friends that would intercept web requests to https://myserver.com/some/folder and instead serve them out of a folder on their local file system?
Andy,
I know this post is a bit old but came across it looking for something else related to AppCache. My understanding it that the html page and the manifest must reside in the same domain for it to work. So I think you need to modify your design:
Create a JavaScript function that acts as a setting for the user to enter the path to their local copy of the PDF's. Store this information in localstorage.
Create a html template page for the document links.
Create a JavaScript function that populates the html template page with any documents and links the user enters.
This way, the users visit your application online and it uses appcache to store itself and the JS files for offline use. To access the PDF's, the user clicks a settings button that launches a page to collect path information and saves the information in localstorage. The users can then access the template page which will populate with the documents they entered.
Here is a good intro to localstorage: [http://www.smashingmagazine.com/2010/10/local-storage-and-how-to-use-it/]
Background
I'm writing an excel app using the Javascript API for Office. (Office 2013). Inside that app, I have several links to folders on my computer/server, which I want to access from the app using the file protocol.
I've tested the file protocol with a dummy HTML file, using this link:
C:\Users\User\Desktop
It works perfectly, opening up the Desktop folder. I've also tested using a networked drive, and it works as well.
Problem
When I add this dummy link into an HTML page in my Excel web app, clicking on it does nothing. When I right click -> Open, IE11 opens a new instance (which doesn't happen with mailto: links), and asks if I'd like to give permission. After I do give permission, the folder is opened.
Goal
I want a single left click to open the folder location without the permissions box ever popping up. Worst case, I want to be able to have the user open a dummy link once during app setup and then once permission is given avoid having to right click -> open.
Question
How can I accomplish the goal here? Is Office just locking down the links?
Update
The primary issue I've found out is that the site I'm hosting the app on wasn't a trusted site. Links using the file protocol only work on intranet and trusted sites. So the only question now is whether the Office store location is trusted.
The problem here lies in the way that Office Apps work. A manifest file is stored with the Office Store, and that is what users download. That manifest points to a server location that the app developer specifies, and that is the location from which the app is served. That is the location which must be added to Trusted Sites in IE.
Therefore to get the File Protocol working smoothly, I'd need to include instructions with my App on adding my hosting server to the Trusted Sites domain, and I'd have to avoid ever changing domains.