May 4, 2011

Plugin doesn't handle images correctly | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Plugin doesn't handle images correctly
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
July 28, 2023
9:47 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

I added a feed Login to see this link
In the publication received from the feed, images are displayed as Login to see this link /rsnportal/images/logo/mlogo.png

Enabling the "store images locally" setting also has no effect.

I have wordpress 6.2.2, php 7.4, nginx.

Log:

[28-07-23 07:22:13] Feed URL: Login to see this link
[28-07-23 07:22:14] Processing a new post: Login to see this link
[28-07-23 07:22:14] Checking for duplicate by link
[28-07-23 07:22:14] Trying to extract full text article
[28-07-23 07:22:14] Tag specified: <div>
[28-07-23 07:22:15] Processing post templates
[28-07-23 07:22:15] Checking for duplicate by link
[28-07-23 07:22:15] Trying to generate post thumbnail from the first post image
[28-07-23 07:22:15] Trying to save image "https://fsvps.gov.ru/sites/all/themes/rsnportal/images/logo/mlogo.png"
[28-07-23 07:22:15] PNG format detected
[28-07-23 07:22:15] Done. The local image URL: Login to see this link
[28-07-23 07:22:15] Apply Spintax
[28-07-23 07:22:15] Inserting a new post into the WordPress database
[28-07-23 07:22:15] Done
[28-07-23 07:22:16] The post thumbnail has been successfully generated and saved to the host
[28-07-23 07:22:16] New post title: Россельхознадзор и ФГБУ «ВНИИЗЖ» выражают глубокие соболезнования руководителю Белгородской испытательной лаборатории Виктории Невзоровой в связи с гибелью ее мужа | Россельхознадзор
[28-07-23 07:22:16] New post ID: 9243

[28-07-23 07:22:16] 1 post was added

July 28, 2023
9:54 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Both links are broken and won't open. The plugin does not display anything at all. It just imports the content source into WordPress. You should open the imported post in the WordPress editor and check if everything is ok there. You should check what was generated, but now how it is rendered by the theme. Your theme may render the post in a completely different way. That's why it's important to find the theme that fits your exact needs and adjust it accordingly.

July 28, 2023
9:58 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

CyberSEO said
Both links are broken and won't open. The plugin does not display anything at all. It just imports the content source into WordPress. You should open the imported post in the WordPress editor and check if everything is ok there. You should check what was generated, but now how it is rendered by the theme. Your theme may render the post in a completely different way. That's why it's important to find the theme that fits your exact needs and adjust it accordingly.  

Okay, but I don't understand why turning on the "store images locally" setting doesn't affect anything. And why is my site listed in the link instead of the source site.

July 28, 2023
9:59 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

What do you mean "has no effect"? If this option is disabled, the images will be hotlinked. If it's enabled, they'll be uploaded to your host.

July 28, 2023
10:06 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

CyberSEO said
What do you mean "has no effect"? If this option is disabled, the images will be hotlinked. If it's enabled, they'll be uploaded to your host.  

When I enable "store images locally" the links should be linked to my "uploads" wordpress directory, instead the link includes directories that are not on my server.
For example Login to see this link

I expect the link to be Login to see this link

July 28, 2023
10:08 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

I'm not sure I've got it. Both links point to the same server. So if that's your domain. bit links are local to it, as described in the manual.

July 28, 2023
10:13 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

CyberSEO said
I'm not sure I've got it. Both links lead to the same server.  

Yes, but there is no "/sites" directory on my server
The plugin took this part of the link from the feed

July 28, 2023
10:19 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Maybe your WordPress is misconfigured. I've checked your feed and the plugin is saving the images in the uploads folder. Email me with admin access to your WordPress dashboard and I'll take a look at what's going on there.

July 28, 2023
10:22 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline

CyberSEO said
Maybe your WordPress is misconfigured. I've checked your feed and the plugin is saving the images in the uploads folder. Email me with admin access to your WordPress dashboard and I'll take a look at what's going on there.  

Okay, how do I send you login password?

July 28, 2023
10:24 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
10sp_Permalink sp_Print
0

Login to see this link

July 28, 2023
10:26 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
11sp_Permalink sp_Print
0

CyberSEO said
Login to see this link  

Sent data. Email subject "asp-news plugin problem"

July 28, 2023
10:41 am
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
12sp_Permalink sp_Print
0

As I said above, your site is misconfigured. Your folders are not writable for the script. You need to fix this.

After that you should open CyberSEO Pro's "General Settings" panel and click on "Install the Full Text RSS script". As soon as your folders folders are writable, the script will be downloaded to your site and it's URL will be seen in the "Full text extractor URL" box.

Open your feed settings and select "Full-text RSS script" from the "Extract full-text articles" drop-down menu.

Open the "Media Handling" tab and deselect any options you have selected for no reason. For example, "Store base64-encoded images" must be disabled because your content does not contain base64-encoded images. "Media attachments" needs to be set to "Do not insert attachments" because your feed has no attachments.

Save your settings and pull the feed.

P.S. Note that I was not able to open the links from your 1st post in the browser. Your servers says they are blocked (forbidden). This means that your site is misconfigured. I suggest you contact your host admin.

July 28, 2023
11:10 am
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
13sp_Permalink sp_Print
0

CyberSEO said
As I said above, your site is misconfigured. Your folders are not writable for the script. You need to fix this.

After that you should open CyberSEO Pro's "General Settings" panel and click on "Install the Full Text RSS script". As soon as your folders folders are writable, the script will be downloaded to your site and it's URL will be seen in the "Full text extractor URL" box.

Open your feed settings and select "Full-text RSS script" from the "Extract full-text articles" drop-down menu.

Open the "Media Handling" tab and deselect any options you have selected for no reason. For example, "Store base64-encoded images" must be disabled because your content does not contain base64-encoded images. "Media attachments" needs to be set to "Do not insert attachments" because your feed has no attachments.

Save your settings and pull the feed.

P.S. Note that I was not able to open the links from your 1st post in the browser. Your servers says they are blocked (forbidden). This means that your site is misconfigured. I suggest you contact your host admin.  

I gave acceess to the directory with the site to all users. This didn't solve the problem.
I don't see the "Full-text RSS script" from the "Extract full-text articles" settings.

At the same time, I see in the log that the picture is successfully saved to the directory
28-07-23 08:35:38] Done. The local image URL: Login to see this link d181d0bed182d180d183d0b4d0bdd0b8d187.png

July 28, 2023
12:37 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
14sp_Permalink sp_Print
0

That's because the script can't write anything to your directories. It can't extract a zip archive or upload an image. This is not a bug or something that can be fixed at the code level. Your server settings simply don't allow PHP scripts to save a file.

The only way to be sure is to check your PHP error log. The problem will be listed there. If you believe there is a bug in CyberSEO Pro, it will be shown in your PHP error log as well.

July 28, 2023
12:55 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
15sp_Permalink sp_Print
0

I've just checked and I see that the /uploads folder is writable and the plugin was able to save an image there. However, it still can't extract a zip file into the /cyberseo folder. So it's either not writable or the required zip and zlib libraries are not installed on your server.

Your PHP error log will give you a complete picture.

July 28, 2023
1:06 pm
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
16sp_Permalink sp_Print
0

CyberSEO said
That's because the script can't write anything to your directories. It can't extract a zip archive or upload an image. This is not a bug or something that can be fixed at the code level. Your server settings simply don't allow PHP scripts to save a file.

The only way to be sure is to check your PHP error log. The problem will be listed there. If you believe there is a bug in CyberSEO Pro, it will be shown in your PHP error log as well.  

I issued permissions 777 recursively for all users. I don't understand what else needs to be done.
I also don't see anything in the logs that would indicate an access error.
I am attaching the logs in the archive.

Login to see this link

July 28, 2023
1:08 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
17sp_Permalink sp_Print
0

Unfortunately, only your host administrator can help you with this. They need to check your PHP error log and fix the problem. It's on their end.

Also, using a 777 permission makes your site vulnerable. I would not recommend this. You should check with your admin. If you like, I can recommend a reliable host provider for WordPress sites, so you won't have any problems with server configuration.

I would like to remind you to make sure that the required Login to see this link libraries are enabled in your PHP config.

July 28, 2023
1:22 pm
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
18sp_Permalink sp_Print
0

I am the server administrator.
There are no php errors in the logs.
Logs are attached in the post above.
I still need your help setting up the plugin.
I disabled all other plugins.
For the test, I recursively set the rights to 777 on all directories of the site.

I remind you:
The image directory in the links is incorrect.
With the "store images locally" option turned off, the links still point to my server.

July 28, 2023
1:27 pm
Avatar
s.baryshev.aoasp
Member
Members
Forum Posts: 68
Member Since:
July 27, 2023
sp_UserOfflineSmall Offline
19sp_Permalink sp_Print
0

CyberSEO said
Unfortunately, only your host administrator can help you with this. They need to check your PHP error log and fix the problem. It's on their end.

Also, using a 777 permission makes your site vulnerable. I would not recommend this. You should check with your admin. If you like, I can recommend a reliable host provider for WordPress sites, so you won't have any problems with server configuration.

I would like to remind you to make sure that the required Login to see this link libraries are enabled in your PHP config.  

Yes, the php7.4-zlib library was not included on my site
This is exactly what I needed.
Installing it solved the problem.

July 28, 2023
1:35 pm
Avatar
CyberSEO
Admin
Forum Posts: 3947
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
20sp_Permalink sp_Print
0

Glad to know the problem is fixed. Don't forget to remove the 777 permission. It makes your site vulnerable to hackers.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2852

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1640

Posts: 8352

Newest Members:

torontomark48, info.ckmedianetwork, contact.mybeautystar, samuelbodde, john.prush, creightonnick0

Administrators: CyberSEO: 3947