I am trying to edit a processed cms (modx) created website. From my customer I only received the ftp logins not the modx account for some reasons. Now I struggled myself for 4-5 days to find out how to edit that website. I downloaded the public_html that is the only file I have access to. So here I am I was looking through all the files for finding out where is the html file.html files location
But unfortunately, after I edit the file nothing is saved. The only thing I have to change is a link for a button but it doesn't save. I tried to edit each of these files but it doesn't save at all. I was wondering if should I change something in a php file or if I am editing the right files.
script way
href way
What am I doing wrong? I am tired of running around the same files.
Thank you
List item
Related
I have just downloaded wordpress from wordpress.org and installed it on my hosting. Then when my site has already saved and published, when I open it from another phone and computer I get the pop-up advertisement in top-right corner. I created the site without any free themes that might have ads. I use wordpress 5.2.3.
...So if someone had that problem too, please response.
I need the site immediately. I have never seen this problem before and on whole internet no answers about it.
That does not sound like a problem created by wordpress.
You could try renaming index.php to index.bak and create an empty index.php. If you open the new index.php an the ad still appears, at least you will know the problem does not lie within wordpress‘ code.
I installed plugin called force regenerate image but it didn't worked. photos are shown in list views but need to force regenerate the images many times. Its running fine in my localhost but in server its not loading how can i make it work fine ?
Try to analyze the log files on your server. It should contain clues on why it's not working. The location of your log files depends on your host. Contact your host if you have no idea where to find the log files.
I saw this mentioned before, but I couldn't find an answer.
I just migrated from my staging site to live, using a plug-in All in one WP migration. After a fresh install of wordpress + plugin on the new site, I took the .wpress file exported from staging and uploaded to the new.
Everything was successful, until I was redirected to the perma-links settings area to just save the final changes. However, from then any setting I touch in the perma-links section breaks my site. Any link in front end or back end will automatically download to browser.
After some digging, I found its related to the htaccess page. If you haven't already noticed, I'm new to this. I don't know where to start to test what could be wrong with the htaccess page, so I wiped it clean to at least be able to navigate the site.
Anytime I try to touch any permalinks setting in the backend, it will re-write in the faulty code and I have to go back into the wipe the htaccess again.
The second issue is it's causing any page (besides the homepage) to 404. If I try to preview a page from backend (mywebsite.com/page1) it 404's, and of course front end. Same if I try to create a new page.
Please let me know any other info I can provide. I am open to any suggestions.
Thank you
step 1 export your database then open it in notpad++ then ctrl+f find your website old URL suppose stackoverflow.com/dev and replace it with your live site stackoverflow.com after replacing all URL make save it and make zip again.
step 2 import the database into your site database.
step 3 go to your dev site and download all setup with WordPress now paste the all files into new website directories.
step 3 open wp-config.php file and changes database name username and password.
step 4 open your wp-admin and use the username and password same which one you using for the dev site
step 5 go to permalinks and set it %%postname%%
these are simple steps and I am sure it will work for you. no need to new WordPress installation.
Could provide us with your .htaccess file?
But as someone noticed - problably you don't have mod_rewrite. Contact your hosting company, they should be able to fix your problem
For some reason, images are not showing up when not logged in as an administrator.
The issue seems to be connected to my use of views.
The images are part of a content type I created. The field type is image and I can pull the images from the node when accessing the node in a custom template and not using views.
But when using views, the images only show up when I'm logged in as an administrator.
I don't have any field/content permission modules installed, this is pretty bare bones with a Zen theme sub-themed. And I'm not doing anything funky with the view, just create it and add the fields I want to display. It works fine as administrator.
I can't seem to figure this one out. It seems like this is a permissions issue, but I don't see anything in the permissions configuration that would affect this behavior.
Any tips?
I appreciate that this is an old post but after days of trying to resolve the problem I have seen many of these posts and want to update with my solution.
My web host is classed as a shared web host which means for me that I don't have as much access to the server side as with other hosts. The control area for the admin on my host is custom and lots of stuff that I have with another host and previous hosts id missing.
I resolved the images not showing by adjusting the .htaccess file. There are 2 that I have found so far in Drupal 7.24 (one in the site root and one in sites/default/files/) and I had to adjust both of them by commenting out the options section and the symlinks section. There is info on this by googling "one.com Drupal Installation".
Once both htaccess files had been edited and the permissions had been changed on the "files" folder in "sites/default/" to "755" the extra folders where created when I uploaded my images and the images started to show fine. If like me you are unable to change permissions within your website hosts control panel you will need to do it with either an ftp client or via ssh.
I have this problem sometimes usually I cange folder and image files permissions to 0777 if all is ok to 0755.
admin->people->permissions->check 'view files' for anonymous user, save permissions.
Those images you uploaded with some multi-uploading modules are regarded as files, anonymous user need permission to view them.
I'm building an app based on CakePHP framework and Croogo CMS. Basically there will be a simple intranet section where after logging in the users will be able to view and download some files.
Within administration I'm planning a simple section where the administrator will select files from ones previously uploaded into CMS and laying in /app/webroot/files folder. Here I would like to implement a simple file picker to let administrator easily select files that will be added to that intranet.
I was googling for a while but found nothing useful - merely pages about file upload.
My question: is there any plugin or something similar to my needs that I could use or do I have to write it down myself?
If there is nothing useable I was planning to do it this way:
administrator will have to upload intranet dedicated files directly to a folder /app/webroot/files/intranet/
within intranet documents administration section I will then list all present files, fill them into <ul> list as links and using jQuery fill some hidden form fields in background from which I would then gather information about files that are being added into the intranet
Is this a good approach or do You have better and simpler solution?
Many thanks for Your responses in advance!
As Lector said, webroot files are public, so you will need to save them to somewhere outside webroot, perhaps in another folder inside app. You can use the Media view to allow download of those restricted files. You could display all the files in a certain folder using PHP similar to how it is done here.