Jump to content

After using PW profile exporter, front-end has errors


danielholanda
 Share

Recommended Posts

I used the new module profile exporter. I love the idea!

I followed the instructions correctly and detailed. I used processwire 2.1 to design and link the front end with the back end. All this was done with MAMP, it worked perfectly. So once I put it in the hosting I had to install processwire 2.2 as the instructions say. After this I just viewed it online and some things did not work visually. Some mistakes may be because of the hosting server, and other issues I dont know, and thats why I ask as maybe somebody had the same issue. These are some problems:

1. Random background image "home": I have a random image which is covering the whole home background. I'm using a javascript which selects an image from an array randomly. These images have the url assigned correctly as it works in my MAMP server with processwire. I do not know why this javascript wouldnt work.

2. PHP form: I have a php form which has its own url also. It gave me problems as I discovered it only works if its out of the folder of templates. Now it just does not work...

3. Extremely slow: I dont know if this is processwire, but maybe you can help me to know what could I do to solve this.

4. Shockwave crashes: I use soundcloud for the songs which are uploaded. So the widget is created with flash. I dont understand why it would crash, it only crashes when its online and not in the MAMP server.

If you need to see the source and it helps this is the website at this moment: http://www.fem-k.com/

Thank you very much everybody, without you this wouldn't be possible!

Dani

Link to comment
Share on other sites

Couple of things -

1.) I always just upload the whole site from my local install, install the DB, change the mySQL info in the site/config, and it always works great; this would mean you could avoid having to run the exporter, and then the PW installer...might save some steps;

2.) You site has some big issues; I would suggest to install the firefox web developer tools and look at the console; most of the problems you are having are related to soundcloud and a calendar script, but once you see the console output you'll know, because there are a LOT of errors, like these:

[17:55:57.800] ReferenceError: Validator is not defined @ http://www.fem-k.com/_php/_php/_php/_php/calendar/calendar_form.php?objname=date3&selected_day=0&selected_month=0&selected_year=0&year_start=2012&year_end=2022&dp=1&da1=1346299200&da2=1661918400&sna=1&aut=&frm=&tar=&inp=&fmt=j%20F%20Y&dis=&pr1=&pr2=&prv=&pth=../_php/calendar/&spd=[[],[],[]]&spt=0&och=&str=0&rtl=&wks=∫=1&hid=1&hdt=1000:274

[17:55:58.945] GET http://www.fem-k.com/_php/_php/_php/_php/_php/calendar/images/iconCalendar.png [HTTP/1.1 404 Not Found 1068ms]
  • Like 1
Link to comment
Share on other sites

no, i think you should stick with what you have, my first comment was more of a general recommendation for future reference.. I just think you have some things messed up in your template files, i could even see it viewing the source; i don't think uploading your local install files will necessarily fix this;

really you need to look at the firefox web console and see the very many redirects coming from soundcloud, and 404 file not found errors; that should give you some clues of where to start fixing; at this point i would just go forward and finish developing the site on the server.

Link to comment
Share on other sites

Offcourse I agree with you, but I would rather test it on a staging part like staging.website.com than on an actual livesite. If you get those kinds of errors you should revert back to what you got. I wouldn't recommend anyone to perform those kinds of tests on the actual url itself. It's like debugging and the whole world could watch you.

Link to comment
Share on other sites

i agree to would move everything into a subdomain, or at the very least block robots with a robots.txt file, while you are working on fixing those things; and also in future it is a good habit as arjen says to first test the site in a subdomain when migrating from a local version to a live server...

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Similar Content

    • By theExo
      Hey folks,
      im pretty new to Processwire. A client of mine asked me to migrate his old (v2.5) Processwire Website. On his server its running on PHP 5.3 and i want to upgrade + migrate the site at the same time. I Downloaded the Site from his server to set it up locally, replaced the /wire directory, index.php and .htaccess with the files of the latest version. After that i changed the DB Connection details in the config.php, swapped to PHP 7.4 and now, when i open up the site on my localhost i get this error:
      compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/head.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/header.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/start_content.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> compile(\ProcessWire\wire("config")->paths->root . "site/templates/includes/footer.inc.php",array('includes'=>true,'namespace'=>true,'modules'=>true,'skipIfNamespace'=>true)))?> The page itself doesnt load, just a white space with this stuff on it
      I checked if the files exist, they do.
      I hope anyone can help me with that 🙂 Thanks in advance!
    • By OrinTerry
      Hello everyone. I am running a small technology blog, which is in WordPress. The main problem with my blog is that it does not open on any Windows 7 computer normally. I know Windows 7 has lost official support from Microsoft but still, there are plenty of users who still use Windows 7. The blog site is already 'HTTPS' protected but after opening in any browser, it shows 'not protected' next to the URL box. So, if I migrate all the site data to 'ProcessWare', will I get the same problem here too? Any kind of feedback would be greatly appreciated.
    • By Marvin
      Hello, excuse me
      I'm new at processwire, i want to ask about a master detail system (Inheritance system) using a processwire. Can we create a Inheritance table using a processwire, and how we create it? Thank you for the help
    • By Max Esnée
      Hi,
      When I upload a large(ish) SVG (≈120ko in this case) into an image field, it tends to get stuck at 100% and block the whole website. If I force refresh the admin page, the svg has not been uploaded. The file is correctly copied into the assets folder though. Other svg tends to be uploaded fine albeit I've noticed that pages containing svg images in the admin are very slow to load generally. Other pages using the same template but with jpeg or png images are much faster to load.
      I get the following error in the JS console:

      I develop locally using MAMP on macOS and I'm using Firefox. I'm using the last ProcessWire version (3.0.165).
      I also tested in Chrome and got the same error.
    • By pideluxe
      From the recent discussion about the roadmap & wishlist for 2021 and some other posts by @ryan, it comes to my mind that developing and coordinating the whole project for one person is becoming harder and harder and leads nearly to the reverse of expanding the ProcessWire ecoysystem. This is not against Ryan, i think everyone here knows how engaged he is about ProcessWire, but he has only 24/7 (sometimes i think he's got far more than that...). 
      We as the community could support the project (financially) to relieve Ryan and could take over some tasks from him. This could be, but is not limited, to:
      Building a Foundation/Association/Company to ensure the persistence of the project and to fund the work put in ProcessWire of Ryan (and others). Nearly every other CMSs i checked has something like this (Drupal Association, Typo3 Association, Joomla Foundation, Wordpress Foundation, Contao Association, ...). This also puts more trust in the project, if someone new will check on his engagement in ProcessWire. Assigning persons/teams to work on things: Extending the core (when necessary) Developing and maintaining major modules (e.g. page builder, admin themes, internationalization, marketing, ecommerce system, ...) Testing and inspection of modules developed by others Making translations of modules (translation of the core is mostly covered, i think) Working on PRs & issues submitted on github Working on the homepage Coordinating the community efforts I know, some resorts are already covered by others (e.g. @Pete for the forum, @horst for images, ... ), but there are many other areas where this ist not the case. By joined efforts by the ProcessWire community this hopefully will also attract new developers to the system and by a growing number of users this assists in the things above in a circular process. What do you think? 
×
×
  • Create New...