Wishlist 0 ¥0.00

Images appear in backend but not in frontend

 

I've installed and removed the JomSEF plugin for redirecting.

Now I've a problem. When I create an article, in TinyMCE I insert images and I can see it in the article. When I publish it, images disappear and I can't see them.

If I check the source of the page, I can see the correct path for images, likes images\articles\001.png and images is the folder where I stored it.

How can I fix it?

1 Answer

 

2

 

Two possibilities I can think of:

  • Installing the extension has changed the base tag. View the source and make sure this is still pointing to the site root, so that relative links to images/ are still correct.
  • The extension contained multiple elements - plugins, componenents etc, and you have not uninstalled all of them. Do an audit of your extensions and remove any by that developer.

Looking further into this, out-of-the-box the base tag will just be the page you are on and the link generated (when the page has been rendered) /images rather than images. With this structure, a fawlty base tag would not break it - images should be loading from the site root.

  •  
    How can I check the base tag? Which source should I check? – Jepessen Nov 20 '16 at 19:41
  •  
    The source of the page showing the broken image. I've updated my answer with some doubt as to if this is the cause, however. That said, images\articles\001.png is going to be a problematic URL and \images\articles\001.png the expected one. Can you confirm that the beginning \ is definitely not there? – RichardB Nov 20 '16 at 20:20
  •  
    Yes, I can see <img style="margin-right: auto; margin-left: auto; display: block;" alt="" src="/images/articles/gis/postgisqgis-001.png"> in the source file and ><img style="margin-right: auto; margin-left: auto; display: block;" src="/images/articles/gis/postgisqgis-001.png" alt="" /> in the source of the article in TinyMCE. – Jepessen Nov 20 '16 at 20:23
  •  
    Is System - SEF turned on? That seems to be the core plugin that makes the image URLs start from the root instead. – RichardB Nov 20 '16 at 20:27
  •  
    I don't have system - SEF anymore, I've uninstalled it. Maybe I should install it again? – Jepessen Nov 20 '16 at 20:29
  •  
    Yes, I reckon that should fix it. Surprised Joomla allows you to uninstall that one. The alternative would be to change your base tag so it always points to your site root, but keeping things as out-of-the-box as possible is usually sensible. – RichardB Nov 20 '16 at 20:32
  •  
    The plugin had messed up everything. I've taken a backup and restored a previous version. I'm not so smart yet to fix these kind of problems... – Jepessen Nov 20 '16 at 23:21
  •  
    I find it odd that a SEF extension would screw up the path of an image. It's a relative path pointing to a directory. Check the <base> in the source code and also check the .htaccess file. – Lodder Nov 22 '16 at 8:21
  •  
    @Lodder - Pretty sure it is the core System - SEF plugin being removed and that the third party extension was a red herring. – RichardB Nov 22 '16 at 10:53

讓國外郵件服務商不再拒收你的郵件,The IP you’re using to send mail is not authorized

前幾天託管了一台伺服器,網通的IP,使用Mdaemon配置了一個mail server。將一個域名MX記錄解析到了這台伺服器上,然後發郵件測試了一下,發現發給大的email服務商(gmail hotmail yahoo)都會報550錯誤:The IP you're using to send mail is not authorized;  發給163  qq  公司郵箱倒是正常。發現發往國外的email會有報錯,發給國內基本上正常,看來國外的郵件服務商要求比較嚴格。我的是新伺服器,新IP,估計這個IP的前任發了不少垃圾郵件,做了些「壞事」

中間的解決辦法:發現伺服器沒有開放25  110等基本郵件埠,開啟,問題依舊,仍舊不能發送。

Gmail的幫助信息中提到

http://mail.google.cn/support/bin/answer.py?answer=10336 的內容

"The IP you're using to send email is not authorized..."(您用於發送電子郵件的 IP 未經授權...)

為了阻止垃圾郵件,Gmail 會在發送郵件的 IP 地址與發送域不匹配時拒絕接收郵件。 要將郵件從您的伺服器發送到 Gmail,我們建議您使用您的 ISP 提供的 SMTP 中繼。 請注意,目前我們無法將您的 IP 地址列入白名單或視為例外。

這個幫助信息貌似幫助不大,我們基本上不能要求ISP能提供什麼SMTP中繼服務。

後來在國外的論壇上搜索到這個 http://www.spamhaus.org/lookup.lasso  通過查詢我的IP,

211.144.206.xx is listed in the CBL

211.144.206.xx is listed in the PBL 

in the following records:

首先是要去從CBL中去除,從這個鏈接去除,http://cbl.abuseat.org/lookup.cgi

提交之後,大約半小時可生效。然後就可以從http://www.spamhaus.org 去除PBL了。CBL和PBL(Policy Block List)還不是一個地方管理。

點擊此 PBL434107 鏈接,網頁上有如下提示,與按鈕,點擊此按鈕。

然後 同意

到如下頁面,

點擊查看原始尺寸

第一欄填寫 你的IP ,第二欄填寫你的mail server上的一個賬號,不要使用公共郵箱,然後選擇IP所在的國家,輸入驗證碼;選擇你的IP地址 和 IP用途,提交即可,過幾分鐘就能收到系統發給你的郵件,郵件中會有一個5個字元的 字元串,複製下來,填入到網頁上來。

點擊查看原始尺寸

系統提示大概過半小時即可從PBL黑名單中去除你的IP,並且會與各郵件廠商同步IP 的list

這樣gmail  hotmail  yahoo就可以收到你發的郵件了。

让国外邮件服务商不再拒收你的邮件,The IP you're using to send mail is not authorized

让国外邮件服务商不再拒收你的邮件,The IP you're using to send mail is not authorized

 

http://www.spamhaus.org/lookup.lasso 查询邮件服务器 ip

返回结果:

x.x.x.x is not listed in the SBL

x.x.x.x is listed in the PBL , in the following records:

  • PBLxxxxxxxx

x.x.x.x is not listed in the XBL

 

x.x.x.x是我邮件服务器ip

 

点击 PBLxxxxxxxx 这个链接往下解除这个ip地址就行了

'The IP you're using to send email is not authorized...'(“您用于发送电子邮件的 IP 未经授权…”)

使用 Postmaster Tools 排查递送问题

Gmail Postmaster Tools 会向发件人提供关于声誉、垃圾邮件比率、反馈环等参数的指标,以此帮助用户避免电子邮件遭到 Gmail 屏蔽或被发送至“垃圾邮件”文件夹。

为防范垃圾邮件,Gmail 会拦截由未获授权的 IP 地址发出的邮件。IP 地址能否获得授权发送邮件,取决于为您提供 IP 地址的互联网服务提供商 (ISP)。这份地址清单通常包含为拨号上网、DSL 或其他宽带接入方式提供的消费者 IP 范围。

如何解决这个问题?
您的 ISP 可能会提供 SMTP 中继服务器,此类服务器会接受来自您 IP 的邮件,且这类服务器应该均已获得相关授权以发送邮件。部分 ISP 可能会将服务升级至企业级或静态 IP 服务,以此获得经过授权的 IP。请与您的 ISP 联系,了解可用选项。

您还可以将自己网域的服务器配置为允许从您的 IP 地址中继邮件,或使用 MSA(邮件投递代理),以此从您网域的服务器发送邮件。了解如何使用 Gmail 从其他地址发送邮件

请注意,我们无法将 IP 地址列入许可名单,也不允许存有例外。

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.