Jump to content

Francesco Bortolussi

Members
  • Content Count

    38
  • Joined

  • Last visited

Community Reputation

27 Excellent

About Francesco Bortolussi

  • Rank
    Jr. Member

Profile Information

  • Gender
    Male
  • Location
    Oderzo, Italy
  • Interests
    Play guitar, excercise

Contact Methods

  • Skype
    perrarina@hotmail.com

Recent Profile Visitors

1,551 profile views
  1. If you want to be very permissive go to: Setup->fields and search the field you need to edit. Select the input tab and search for Use ACF? and select No. This will allow to use html inside the text field. Be careful because this could be a breach to damage your layout.
  2. From what i saw ProcessWire need to CREATE tables and indexes too.
  3. Ok @kongondo Thank you for the quick answer. Processwire version: 2.6.23 rc2 Server: Linux, Ngnix, Maria DB, PHP-Fpm, EXT4 Filesystem Problem: When you import a repeater field, PW don't validate the template of the parent_id field, and assign it to repeater page. Reproduction steps: 1.- Export a repeater field. 2.- When importing, edit the parent-id to match with the ID of a page which template contains that repeater. 3.- Pw enter's in a loop of repeater pages creation.
  4. Hi to everyone, please try to consider this post as a possible thread to every PW installation. We have used PW to backend a website and app for a big big company, so stability must be granted. Recently we was into a big trouble, filesystem was blocked because no Inodes left. The assets/files/ folder was full with more than 7 million directories. After some research we found a possible origin to this: If we have a template user, which have assigned a repeater field. And then we set as parent of that repeater a "User" page, this could lead into an infinite loop of pages creation; because the template_id for the repeater pages was set to "User Template" and since "User Template" includes that repeater it will need to create another page and you go on until your disk crash. Usually repeaters should stay under Admin->Repeaters. And here is the main questions: Can a repeater page be created with the same template_id as his "container" page? At database(Mysql) level does the template_id field will be filled with his parent template_id in the pages table when you import the repeater field? (Sorry for that but filed means something for db schema too) Could someone tell me if this actually happen. If so, could this be checked in a future release to prevent this problems? You should say, "How could this happen?" This happen when you have different environments and you migrate fields from one to another environment; a Page ID that is an Admin->Repeaters child page in one environment is not necessarily the same in another. Thank you for your time reading.
  5. Ok, now I understand better. You shoud use a rewrite rule in a .htaccess of the document root, you will lost web access to your Document Root but your traffic will end in /pw Something like: RewriteRule ^(.*)$ /pw/$1 This rule should work but there are more way's to do it. Another solution would be to create a subdomain / use a virtual host but I don't know if that is what you need. The previous post about the RewriteBase is still valid, you still have to tell apahce that Proceswire is not in the main directory.
  6. In your root directory find the .htaccess file. Inside that file check for RewriteBase It must be uncomment something like: RewriteBase /pw
  7. @can que bueno. Yo me encuentro en Italia. Y pues si, latinoamerica se presta mucho para proyectos como el tuyo: mucha tierra, clima y gente. En donde vivia Venezuela caería de maravilla tu proyecto ya que ni comida hay. Exito. PD: all other's forum member's sorry for the off topic.
  8. Hi @can, I suggest you to use an editor like Geany wich support multiples charactes set and open your .sql dump. If is too big, make a smaller dump that contains problematic data. Then in Geany reload it as ISO-8859-15 and see what happen, if you see accents, ñ and other caracters then you discovered the right codification for the file. Sometimes is a problem at sql file level, maybe created from a non UTF terminal or something. Hablas español? Veo que estas en Perù. Yo hablo español. Antes vivia en Venezuela. Saludos.
  9. I installed the Debian package and has always been very stable. Perhap's if you download Munin you'll see that is a collection of Perl/BAsh scripts(Plugins) and a demon that make calls to a client. You could even create your own plugins I think (Never done one).
  10. Hi @bernhard For monitoring server status I like to use Munin it gives you a full perspective in one view. Recently have used Zabbix for monitor and email me if something goes wrong. Is very expandable and has a wide variety of plugins. This is more a System/Network monitoring software. The web scenarios features of zabbix are nice for web projects, web services tests too. All this solutions are locally installed and not third party services.
  11. Hi. If there's no iptable rule for port 3000 is because is not blocked (or allowed in case of a DROP policy). Check iptables INPUT and OUTPUT chain's policy to see if they are in ACCEPT or DROP. If is ACCEPT forget about firewall that's not the problem. The result's of your positive connection via telnet could be because the address 127.0.0.1 is mapped to ::1 ip v6 address. (In the /etc/hosts file). And as you wrote in your initial post, there is a socket listening in tcp6 local address. Check that the browsersync service is listening in ip v4 protocol (you should see tcp instead of tcp6). Check with: # netstat -putan | grep 3000 You should see: tcp as protocol (not tcp6) and the Real IP as address (The one you use to connect from yout PC to the server). If you not see this, check browsersync config and be shure you are using the right address. Have a nice day.
  12. Hi. If you have ssh access to the server: 1.- Try telnet from local console: like telnet 127.0.0.1:3000 If locally you get some response from the service, then is a firewall problem(It block'c communication to the outside). 2.- Look at the protocol, maybe is only open for tcp6 connections and firewall block's tcp4 connections If you're using Linux try: # iptables -L -n | grep :3000 It should give you a list of rules in INPUT, OUTPUT that filter all packets for that port. Look at the first line: "Chain INPUT (policy ACCEPT)" If it says ACCEPT, all connection's are by default allowed. If it says DROP the policy is to deny all incoming connections. Hope this could help.
×
×
  • Create New...