djoey Posted May 6, 2009 Share Posted May 6, 2009 Hi,I have problems with my site, whenever you want to register to it, you can enter your email adres and then you will be presented with the form to enter all your necessary details. After that It will go to url:http://www.goedhuysverf.nl/authentication.php?back=order.php?step=1And that page gives me a HTTP 500 error, does this has to do with permissions?I have checked the error_log on the server but i cannot find anything about this reference.The user will be created however in the backend. But it does not send an email.edit: I have just seen that when i try to use the contact form i also get an HTTP 500 error, they may be related due to the fact it is going to send an email to a user at that point? Link to comment Share on other sites More sharing options...
San Diego Posted May 6, 2009 Share Posted May 6, 2009 http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/did you set your chmod right?does not look like itsdnice, intresting site! Link to comment Share on other sites More sharing options...
Psychodays Posted May 6, 2009 Share Posted May 6, 2009 whenever I wrongly do a directive in .htaccess file I have 500 error. It's an error of the server not the browser. You must dig into you server log to have more details. Link to comment Share on other sites More sharing options...
djoey Posted May 6, 2009 Author Share Posted May 6, 2009 All needed chmodding is applied, per instructions on the wiki page.Unfortunately I do not have access to the logfiles of the server, it might be that htaccess is causing this.The contents of the htaccess file is: # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
San Diego Posted May 6, 2009 Share Posted May 6, 2009 check out your cookies setting of your browser, ps needs it also clear the cachecheck the php version your server usejust to let you knowwww.one.com server there ps runs like a ferrarisd Link to comment Share on other sites More sharing options...
Psychodays Posted May 6, 2009 Share Posted May 6, 2009 this is the default .htaccess by Prestashop. The pb doesn't lie here, please write a php file,give it any name , put the line:<?phpphpinfo();?>this will render a webpage with all the modules of the php engine configuration. Make sure it is php verison 5; But in your case I doubt it is the case. Did you notice any warning in the install?May I suggest you back up you Database and product and template and make a reinstall ?I just created an acount at your website, after submit, I see a totally blank page. Link to comment Share on other sites More sharing options...
djoey Posted May 6, 2009 Author Share Posted May 6, 2009 I know for a fact that php version uses is correct.but just for the information:http://www.goedhuysverf.nl/info.phpNo warnings during installation. I have already removed all files from the host, and reuploaded them from a fresh install, and then set the correct permissions, same faults. could it be the hoster having issues? Link to comment Share on other sites More sharing options...
Psychodays Posted May 6, 2009 Share Posted May 6, 2009 Beware when you upload you must check if its in binary mode or not. You have 2 mode binary or ASCII. I think it's binary mode.At this time not sure it's your host. If you still have problem you'd better contact you hoster. Time to check your host after sale service Link to comment Share on other sites More sharing options...
San Diego Posted May 6, 2009 Share Posted May 6, 2009 there was one guy who uploaded the files in passive mode and had trouble, tooso if so turn passive mode ofsd Link to comment Share on other sites More sharing options...
djoey Posted May 7, 2009 Author Share Posted May 7, 2009 I have used filezilla to upload the files, and this program always uploads correctly, i have been in contact with my host, but no answers yet. Link to comment Share on other sites More sharing options...
San Diego Posted May 7, 2009 Share Posted May 7, 2009 what host is thisi have 24 hour service and live helptztzgood lucksd Link to comment Share on other sites More sharing options...
djoey Posted May 7, 2009 Author Share Posted May 7, 2009 Just some hosting company in the netherlands (the tax paradise according to barack), good speeds etc. We are probably going to move to another hosting provider. But nothing in the US it is just too slow for us europeans. Link to comment Share on other sites More sharing options...
San Diego Posted May 7, 2009 Share Posted May 7, 2009 depends on what you want to dowww.one.comhas shared ssl and presta runsand it is cheapcheck it out if you want Link to comment Share on other sites More sharing options...
djoey Posted May 7, 2009 Author Share Posted May 7, 2009 I have some new revelations A while ago i changed from a subfolder to the root of the domain. Now i find strange errors in the error_log: (gbeheer is my admin folder) [Thu May 07 22:06:40 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/js, referer: http://www.goedhuysverf.nl/gbeheer/ [Thu May 07 22:06:45 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/modules, referer: http://www.goedhuysverf.nl/gbeheer/ [Thu May 07 22:06:45 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/modules, referer: http://www.goedhuysverf.nl/gbeheer/ [Thu May 07 22:06:45 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/modules, referer: http://www.goedhuysverf.nl/gbeheer/ [Thu May 07 22:06:45 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/modules, referer: http://www.goedhuysverf.nl/gbeheer/ [Thu May 07 22:07:17 2009] [error] [client 84.105.56.151] File does not exist: /home/goedhuysverf.nl/www/gbeheer/js, referer: http://www.goedhuysverf.nl/gbeheer/index.php It looks like it tries to access folders that should be in / instead of /gbeheer/Also i get http errors 500 when i try to sign myself up to the newsletter, and the contact-form.php doesnt send emails, and breaks halfway through the process. Could it have something to do with the mailscript somewhere, in combination with moving from a subfolder to the root of the domain? Link to comment Share on other sites More sharing options...
Psychodays Posted May 7, 2009 Share Posted May 7, 2009 i think sure,anyway it's not a good idea to move an install.you can install prestashop in a subfolder and point the TLD to the subfolder making it look like you didn't installed in the subfolder.I think the better way is to reinstall the prestashop (it 's pretty quick) and reupload your database of product (including images) well you know all this stuff. Link to comment Share on other sites More sharing options...
San Diego Posted May 7, 2009 Share Posted May 7, 2009 did you backup your database before moving,you can´t simply move your shop arround there is a wiki for that what you didbut i can´t find it right now, there need to be a few certain steps doneyour shop is screwed now, because the cookies and internal links which are created through the install prozess are wrong now.if you have a backup the easiest thing would be now to install the shop new in the root.sd Link to comment Share on other sites More sharing options...
djoey Posted May 8, 2009 Author Share Posted May 8, 2009 So a fresh install to a new database? and what about all the products and images etc in the old database? Can you export these from the old database and import them back into a freshly installed database without issues?Or should I install from new files to an existing database? Link to comment Share on other sites More sharing options...
San Diego Posted May 8, 2009 Share Posted May 8, 2009 hi,thats what the database backup is for, to move your database in a new presta installation,but i never did it so far, so i can give you any advice on that, check out the wikiin backend - tools - importthere you do itsd Link to comment Share on other sites More sharing options...
djoey Posted May 8, 2009 Author Share Posted May 8, 2009 I'm going to give that a try tonight. It seems that this could work. Link to comment Share on other sites More sharing options...
djoey Posted May 11, 2009 Author Share Posted May 11, 2009 Didn't work i did some spitting and i think i have found the thing that is giving me headaches:it is located in tools/swift/Swift/ClassLoader.phpAnd it is including the other files needed to email people. This is trying to includie files that don't exist. in that specific location according to my php error log <?php /** * Swift Mailer Class Loader for includes * Please read the LICENSE file * @author Chris Corbyn * @package Swift * @license GNU Lesser General Public License */ if (!defined("SWIFT_ABS_PATH")) define("SWIFT_ABS_PATH", dirname(__FILE__) . "/.."); /** * Locates and includes class files * @package Swift * @author Chris Corbyn */ class Swift_ClassLoader { /** * A list of files already located * @var array */ protected static $located = array(); /** * Load a new class into memory * @param string The name of the class, case SenSItivE */ public static function load($name) { if (in_array($name, self::$located) || class_exists($name, false) || interface_exists($name, false)) return; require_once SWIFT_ABS_PATH . "/" . str_replace("_", "/", $name) . ".php"; self::$located[] = $name; } } Errorlog on test machine: [11-May-2009 22:19:58] PHP Warning: require_once(D:\werk\wamp\www\webshop11\tools\swift\Swift/../Swift/Plugin/Decorator/Replacements.php) [function.require-once]: failed to open stream: No such file or directory in D:\werk\wamp\www\webshop11\tools\swift\Swift\ClassLoader.php on line 35 [11-May-2009 22:19:58] PHP Fatal error: require_once() [function.require]: Failed opening required 'D:\werk\wamp\www\webshop11\tools\swift\Swift/../Swift/Plugin/Decorator/Replacements.php' (include_path='.;C:\php5\pear') in D:\werk\wamp\www\webshop11\tools\swift\Swift\ClassLoader.php on line 35 I have been trying to get the path right so that the script finds the files necessary. But no success as of yet.. anyone can help? Link to comment Share on other sites More sharing options...
djoey Posted May 11, 2009 Author Share Posted May 11, 2009 Nevermind, i think i got it working. Link to comment Share on other sites More sharing options...
pvr Posted August 6, 2009 Share Posted August 6, 2009 Hey , Can you post what your fix was please.I'm having similar problems.Would be great to know your solution. Link to comment Share on other sites More sharing options...
djoey Posted August 7, 2009 Author Share Posted August 7, 2009 Just make sure if you use FileZilla or something that every file is actually uploaded to your host. I had a few files which were 0kb because of the FTP program I used. Once you really have all the files it works like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now