Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Ok, this afternoon it happened again. And it happened more times in the past. So long if you don´t have a secure backup. Data missing or data corrupted when moving a webshop from one server to another. I compress all files and folders in the server root, you know, public_html or home etc.. Then I download the zip file and upload it to the destination host. Then uncompress the zip file on the destination host and things should be ok right ? Not ! Many images, thumbs, slides and icons simply missing. My experience is also that moving data over http is less reliable than over ftp. It looks that compressing each folder separately, download, upload and uncompress is working better than compressing everything in one big zip file. I don´t believe that I am the only one running into these issues. So my question is, is there a foolproof protocol to move a big webshop or website from one server to another, without data loss/corruption ? What about moving everything directly from server to server with something like batchsync ftp with automatic reconnects, verified retries, and resumes. It´s 600 dollar but it might be worth it if it delivers nightmare free copying from server to server. Edit: If I uncompress a zip file on the destination server, half of the files/folders are not uncompressed. So is there maybe any difference between zip / rar / tar or tar.gz ? I mean does tar.gz has less problems with data corruption ? I have no idea.
  2. slick site
  3. Thanks Diogo, for the code example and tip. Haven´t tried that possibility, so let´s hope. Otherwise I will try tonight at home an empty processwire profile and start from scratch with bxslider. Anyway, they have taken me off the website and now somebody else is finishing it. I have pretty tough colleagues around me here, experienced coders. Keep on dreaming of working for my self like you.
  4. @netcarver - you are right about that. It´s just that in case of only a few pictures in a slider e.g. 2 or 3, I thought one liners might be more quick to do it, but maybe it is better to use the same way of coding for all cases. I´m in a real mess anyway now. Tried to get bxslider in a processwire site but fail miserably. Calling the script just before </body> or any other place messes everything up. Maybe bxslider isn´t the most compatible one. Lost too much time => Boss very angry. Trying SlidesJS 3.0 or else I simply give up.
  5. Thanks LostKobrakai for your example, <li> <?php $temp = $pages->get("/bxslider-pictures/"); $image = $temp->images->get("name=hill.jpg"); $image = $image->width(200); echo "<img src='$image->url'/>"; ?> </li> with it I am now a step further.
  6. Can someone tell me how to change this $page code <?php $image = $page->images->get("name=logo.jpg"); $image = $image->width(200); echo "<img src='$image->url'/>"; ?> into code for using $pages instead $page ?
  7. I only have 3 pictures in a bxslider and instead of repeating 3 times: <?php $image = $page->images->get("name=logo.jpg"); $image = $image->width(200); echo "<img src='$image->url'/>"; ?> I would like to have it 3 times on one line per image, <?php echo "< . . . . everything on one line . . . . >"; But now that I am using $pages instead of $page I have an error anyway Parse Error: syntax error, unexpected '->'
  8. I think I am using $pages in the wrong way. bxslider-images is an unpublished page with field images that holds picture hill.jpg
  9. Guys I think it is almost working: Have this error: Parse Error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ',' or ';' (line 106 of /home/tibetischeknobla/public_html/site/templates/head.inc) When I use this: <li><?php echo "<img src='" . $pages->bxslider-images->images->get("name=hill.jpg")->width(200)->url . "' />"; ?></li>
  10. I have this code: <?php $image = $page->images->get("name=logo.jpg"); $image = $image->width(200); echo "<img src='$image->url'/>"; ?> I am trying to get those 3 lines on just 1 line like this: <?php echo "< . . . . everything on one line . . . . >"; ?> But need a little help.
  11. Use a jpg compressor and move the slider until the point where the picture starts to look bad. Then move the slider a bit back. The eye can´t see the difference from the original but the size has become significant lesser. http://winsoftmagic.com/ajc.html
  12. One Linux distro can be very different from another Linux distro in what comes pre configured or pre installed. Sometimes when you finish a Linux distro installation you still have to install some packages or do configurations for everything to work what you need. Example, I have become very fond of Linux Antix because it is both very user friendly and fast on cheap motherboards. After doing a Linux antix installation your wifi does not show up because you have to manually add the wlan card to the network configuration. So maybe in your case simply installing another Linux distro might solve you from difficult to find configurations that did not came during the Manjaro installation. The Manjaro distro is based on Arch Linux so I recommend to go through this Lamp page step by step: https://wiki.archlinux.org/index.php/LAMP
  13. check with your browser: https://sni.velox.ch/ http://en.wikipedia.org/wiki/Server_Name_Indication
  14. World view with sni requests http://cloudflare.github.io/sni-visualization/
  15. Have been looking a long time for something like this. Great find, thanks for posting.
  16. You have more than 500 Mbps upload speed !! With that speed I would immediately setup my own Server(s). Backups, owncloud, videoclips, all with no hard disk space limit. Just to see how far you could take that from home. Can only dream about it. Maybe I will move to another city where they have fibre optic.
  17. only managed 880 Mbps ? Lucky you, that's fast I would say, I only have max 12/1 here What is your up speed ?
  18. pwired

    durch

    php form https://processwire.com/talk/topic/407-processing-contact-forms/ https://processwire.com/talk/topic/7731-quick-form/ With the help of the forum I made a full blown form out of it.
  19. pwired

    durch

    Yes they are, only the links in your profile, those are not html links: aim:goim?screenname=www.mpgrafikx.nl msnim:chat?contact=www.energy-radio.nl
  20. pwired

    durch

    Hi Frank, Welcome to this special place on the internet both forum and processwire. Many experienced members here. Forum is loaded with very informative posts. Find some time to go through the community category posts. Here is one for starters: https://processwire.com/talk/topic/4173-grouped-forum-posts-links-articles-tutorials-code-snippets/ Edit: In your profile the two links to www.mpgrafikx.nl and www.energy-radio.nl are not opening properly (The address wasn't understood) Oh: Can you tell us how you found processwire ? (curious)
  21. pwired

    durch

    translation ? First post. Why don´t you introduce your self first, and tell something more about the how and what.
  22. He said "I'm just getting started with ProcessWire" usually starters don´t know css plus responsive, that´s why I came up with a css grid (pocketgrid) Besides I don´t think in that website everything is simply stacked on top of each other vertically.
  23. I know there is FirePHP, Xdebug, debug bar in composer but what are you guys using when debugging php ?
  24. Start digging the forum categories in community support for an hour, I am sure your questions will be different by then. https://processwire.com/talk/topic/4173-grouped-forum-posts-links-articles-tutorials-code-snippets/ Glad you could make it to processwire the cms/cmf/cme that just works how it should be. You need a css framework to place all the different parts of that website in the positions as you see them there. I recommend pocketgrid, a huge timesaver. http://arnaudleray.github.io/pocketgrid/docs/
  25. Thanks for those 2 points, malicous input and return value, and your code example.
×
×
  • Create New...