BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> Error Reports
  New Posts New Posts RSS Feed - Error with counter
  FAQ FAQ  Forum Search   Register Register  Login Login

Error with counter

 Post Reply Post Reply Page  12>
Author
Message
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Topic: Error with counter
    Posted: Jun 13 2015 at 6:43pm
I tried to substitute the counter on the site, but after loaded, it gaves me this error

<br />
<b>Warning</b>:  fopen(../../Data/WECounter.json): failed to open stream: Permission denied in <b>D:\inetpub\webs\shouboitaliait\WEFiles\Server\WECounter-v22.php</b> on line <b>221</b><br />
can't open file


I didn't anything wrong. Simply inserted the counter on home page (not on layer) and loaded the page from the folder_Upload to the domain.
Why the dir on the server should not give permission?


Edited by Bravo12 - Jun 13 2015 at 7:45pm
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Jun 13 2015 at 8:26pm
Hi,

It's neither your nor openElement's fault. On some hostings, uploading does not set enough permissions on files, and there's no "write" access to the file Data/WECounter.json for PHP. You need to access your server via FileZilla, find this file in the Data subfolder, right-click and set all permissions.

Good day
D
Back to Top
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 13 2015 at 9:26pm
I published the site on Aruba.it and with the zip file that they give (counter.zip), it's working. They say to keep the file counter.txt in dir /public and all others in /root of site...
Now I'll try to do what you said.

For now many thanks! [It's almost a miracle to find someone online during saturday evevening...]
Back to Top
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 13 2015 at 9:55pm
Mhhh... nothing to do. Again
"Error : undefined

<br />
<b>Warning</b>:  fopen(../../Data/WECounter.json): failed to open stream: Permission denied in <b>D:\inetpub\webs\c-m-tit\WEFiles\Server\WECounter-v22.php</b> on line <b>221</b><br />
can't open file"
also if I gave 777 permission to the file.
Very strange 'cause on the localhost 8086 made by oE, for checking it with a browser, it works normally.  I had to reset the old...
I'll try to ask to the ISP why it doesn't allow to open the file, 'cause now should be everything ok.
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 8:56am
Try to set permissions to the parent folder (Data) as well.
Back to Top
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 9:37am
Filezilla answer:
"500 SITE command noit understood"
"SITE CHMOD 777 DATA"

The site is on a windows domain platform. Is it 'cause those attribs are for Unix/Linux?

Now I have also another problem: oE is taking back old deleted files... and I don't know how to permanently erase them. In the beginning I have made some file to show ways and colors to apply to the entire site. After chose I deleted all those not necessary files. Now they are coming back. They stay in the dir also if not seen from users, but seen from me in the site's root..... The sitemap.xml reports them too. Why if I deleted them and from the trash too?


Edited by Bravo12 - Jun 14 2015 at 9:41am
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 11:41am
What are those files, exactly?
Back to Top
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 1:13pm
<url oeid="67eeca58-b0ae-4409-8461-e5a06ef5cf40" oelang="DEFAULT"><loc>http://www.shouboitalia.it/Page.htm</loc><lastmod>2015-01-02</lastmod></url>
<url oeid="60403df2-5865-43a2-a631-d037b2c35d2a" oelang="DEFAULT"><loc>http://www.shouboitalia.it/pagelayer.htm</loc><lastmod>2015-01-06</lastmod></url>
<url oeid="11a84866-34c2-4a04-9c47-731fdbe2fee9" oelang="DEFAULT"><loc>http://www.shouboitalia.it/2player.htm</loc><lastmod>2015-01-06</lastmod></url>
It would be great for me to know how to permanently delete those pages from coded source.... I don't want see them appear again after inserted or deleted links, updated the site and saved in new folder xxx_Upload. I've tried to search for those oeid, but nothing arrived as answer; they look like ghosts...


Edited by Bravo12 - Jun 14 2015 at 1:18pm
Back to Top
Dmit OE View Drop Down
Admin Group
Admin Group


Joined: May 31 2012
Status: Offline
Points: 5283
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmit OE Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 2:39pm
Did you delete them using the Site Explorer on the left, or did you just delete the files in the project folder?
Back to Top
Bravo12 View Drop Down
Senior Member
Senior Member
Avatar

Joined: Jun 07 2013
Location: Italy
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bravo12 Quote  Post ReplyReply Direct Link To This Post Posted: Jun 14 2015 at 2:51pm
In BaseLayer I used Site Explorer, but when they come out in the Site_Upload folder I only can delete them from there.  So, if I destroy the Site_Upload folder and prepare a new one, they come back again. I think that the file sitemap.xml should be updated everytime a page is closed, but it looks as doesn't work like that...in same time something avoids to delete the unwanted coded path... In effect I found that the one hidden is the code and from that oE re-write the deleted pages. How can it be possible? This is not Wordpress.



Edited by Bravo12 - Jun 14 2015 at 2:54pm
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.