View Full Version : phpld 3 not working on XAMPP on XP
manager
03-25-2006, 02:21 AM
Another script that requires payment, and then doesn't work right out of the box:
Warning: Smarty error: validate: validator id 'v_step' is not registered. in C:\ProgramFiles\xampp\htdocs\sites\pld\libs\smarty \Smarty.class.php on line 1088
Warning: Smarty error: validate: validator id 'v_lang' is not registered. in C:\Program Files\xampp\htdocs\sites\pld\libs\smarty\Smarty.cl ass.php on line 1088
Language
Warning: Smarty error: validate: validator id 'v_lang' is not registered. in C:\Program Files\xampp\htdocs\sites\pld\libs\smarty\Smarty.cl ass.php on line 1088
Yes this is XAMPP on XP. Pretty plain vanilla. PHPLD install scrpt chokes as above. Sigh.
What to do... bug David for a refund or pay *more* for supporters forum, or learn inner details of Smarty just to get started with this directory script.
Optimit
03-25-2006, 03:05 AM
hmm, installs fine for nearly everyone else, with an occasional server incompatability. kind of like most scripts you will ever find.
manager
03-25-2006, 03:13 AM
No, not really. May be true of most free scripts, but fee scripts usually work out of the box in a minimal function.
Anyway somebody chose to offload the template work to Smarty so it should be tested better. For *validate* to not take hold and cause crashes of the skin...well it is just another poor out of box experience.
I get the first screen no problem... try to choose a language and it refreshes with the smarty errors and a second request to choose language. So Smarty is working (first screen displays nicely) and the form validation is whacked.
David
03-25-2006, 03:25 AM
Content visible to registered users only.
Ok, so you are not running it on a webserver. You are running it locally. That does make it a lot more difficult, since phpLD is designed to run on a webserver.
XAMPP comes with:
Update MySQL 5.0.18
Update Apache 2.2.0
Update PHP 5.1.1
Update phpMyAdmin 2.7.0 pl1
Do you have any idea how many webservers have this configuration?
There have been some people who have gotten such a configuration to work, but you should be aware that we are talking about something like 0.05% of webservers would be running mySQL 5 and PHP 5. Not only this, I can safely say that 90% of paid scripts would have trouble with this configuration.
If you will PM me your FTP, phpmyadmin and admin login (if you have one), we will take a look.
Thanks
David
03-25-2006, 03:48 AM
If you need a free hosting account for a little while, we'll be happy to provide that for you, so that you can actually run it in a real hosting environment.
manager
03-25-2006, 03:49 AM
Actually, I am running XAMPP with PHP Version 4.4.1-pl1, not 5 (they have a configuration switch..very nice). I am using Apache 2.2, and I didn't even have MySQL running...fewer moving parts = easier to debug.
So that makes this a Smarty/PHP code failure on PHP4.4.1/Apache2.2. Is that so rare to make me a unique case?
Sorry I can't provide a login... like you noticed, it is not on the Internet.
Thanks for the offer of free hosting, but hosting is never free (each setup has it's particulars) so if I can't get it to run on a basic LAMP platform I don't have alot of confidence in the code base. I'd hate to just "get it working" and then rely on it, you know? That's not very "smart"
David
03-25-2006, 03:52 AM
I'll be happy to happy to provide a free installation on a webserver for you, and even host it for you for a short time.
(would take only 15 minutes of my time to get it ready)
But honestly, running it on an xp box in itself is more something suitable for a developer, not an "out of box" user.
I would rather set it up for you in a more native environment that trouble shoot your home computer's setup.
manager
03-25-2006, 04:03 AM
okay so there's the situation. I am a developer, hence my local development environment. I have never used Smarty. I don't need to skin phpld. I want to use it as back end management for links. I specifically want it secured off the Internet.
If it is a project that is still in development such that it only runs reliably when installed by the author or only under select configurations, I'll pass and request a refund. I need code that runs when configured as specified, so I can move it to any server so configured. I am happy to review your requirements (which I thought I had done) if it is a matter of my server not meeting your requirements.
eli03
03-25-2006, 04:04 AM
i have a running xampp server on my win xp with phpld ver 3 with no problem. im using xampp ver 1.4.11 switch to PHP 4.3.10 .
manager
03-25-2006, 04:06 AM
Thanks that's helpful. Clues... does 1.4 use Apache 1.3 or 2?
eli03
03-25-2006, 04:09 AM
this is the specs:
ApacheFriends XAMPP (basic package) version 1.4.11
+ Apache 2.0.52
+ MySQL 4.1.8
+ PHP 5.0.3 + PHP 4.3.10 + PEAR
+ PHP-Switch win32 1.0 (von Apachefriends, man nehme die "php-switch.bat")
+ XAMPP Security 1.0
+ MiniPerl 5.8.3
+ SQLite 2.8.15
+ OpenSSL 0.9.7e
+ PHPMyAdmin 2.6.0 pl3
+ ADODB 4.54
+ Mercury Mail Transport System for Win32 and NetWare Systems v4.01a
+ FileZilla FTP Server 0.9.4d
+ Webalizer 2.01-10
+ Zend Optimizer 2.5.7
David
03-25-2006, 04:10 AM
Thanks for helping, eli03. 8)
manager
03-25-2006, 04:37 AM
inside install.php $step isn't incremented... it stays = 1 even after I choose a language and hit next.
Content visible to registered users only.
I can instantiate a smarty class inside install.php no problem (ditto for intsmarty) so smarty is working and in the path.
It looks like SmartyValidate is not getting called or not working but it's not checked either so the code blows chunks on the next use of unvalidated v_step and v_lang. That's one big honkin' switched form you are using there....lines 51 - 163 or so of install.php
manager
03-25-2006, 05:05 AM
from the SmartyValidate docs:
Content visible to registered users only.
Looks like we're missing some logic here... SmartyValidate is failing for your form, when your form only contains a language select box. Nobody's handling the error until the code chokes later.
vegabond
03-25-2006, 09:52 AM
manager,
You can use Easyphp for running Phpld on ur localserver. u will find it here: www.easyphp.org. it's working well for me. However, i m downloading Xampp for testing :D
Hi!
I think this is eighter a PHP 5.1.x problem, or an Apache 2.2 configuration. I don't know yet. Probably it's the way PHP manages sessions and default connfigurations.
I will do my best to fix it.
Boby
ooooooooooooooooohhhhhhh boby!! i'm tellin'.. you broke it!!!
:lol:
Optimit
03-25-2006, 04:44 PM
It's broke? Someone take this back! LOL
Opti... you get my PM from yahoo?
haha i had everything 1.0 STRICT!
it's too too much of a pain in the arse though, so i backd it down to Transitional!
index.php and submit.php 100% trans. :D
got that menu working 100% in both ff and ie. it's pretty swank for a css driven menu. i'm pleased.
[ok, thread hiijack over]
Optimit
03-25-2006, 04:48 PM
transitional? ahhh pansy
manager
03-28-2006, 11:12 PM
What happened to this thread? These replies seem OT.
Anyway it's not a PHP 5 problem.. as noted I'm running PHP4, and the problem exists even without MySQL started.
Content visible to registered users only.
We try to keep things *happy* around here. So when someone comes in feeling a bit sandy, we el oh el at u.
we know it's not a php problem. actually, we think it's a 'managerial' type problem. :lol:
bobby9101
03-28-2006, 11:18 PM
I am running WAMP5 on my computer and i manually installed smarty and then configured mod rewrite on
it works perfectlly with phpld locally :-D
Content visible to registered users only.
hey i'm rinnign WINamp5 :lol:
;)
manager
03-28-2006, 11:30 PM
Well since I paid for the script I don't think it's funny that it doesn't work. I also don't appreciate an anon poster suggesting it's a "managerial" problem. 1. Have some guts 2. if you don't have anything helpful to say...
Anyway EasyPHP with XAMPP off = same problem and same error messages after selecting ENGLISH at step one.
I won't go install WAMP5 plus a manual install of Smarty as that would be the THIRD dev environment and if one has to install 3 dev environments to get LD3 running then clearly LD3 is not ready for prime time.
This looks more and more like a Smarty install on Windows problem, which makes it a flaw in the LD3 installation program and/or use of Smarty.
FEEL FREE TO EDIT THE REQUIRMENTS and state that phpld only works on Linux.
bobby9101
03-28-2006, 11:44 PM
dude it works on XP
i am running it on XP it works on windows so yeah no need to state it only works on linux, BTW it sounds like you don't want it to work which just confuses me
Content visible to registered users only.
1. EDITED BY "Boby"
2. See #1 is terms of help.
Content visible to registered users only.
FEEL FREE TO STATE THAT YOU DON"T KNOW WHAT YOU'RE DOING. It's ok, we understand.
EDITED BY "Boby"
el oh el @ u
vegabond
03-29-2006, 05:19 AM
aahhh anon, dont make serius joke. he is a new member.
Content visible to registered users only.
u r the first man, here is 1200 member (till this posting). nobody says, it's only work in linux.
I have a running xampp server on my win xp with phpld ver 2.0 with no problem :D.
manager
03-30-2006, 12:16 AM
Hey anon nice reply. Care to further demonstrate your maturity? Puhleeze?
One is reminded of what a script kiddie really is. Funny, I know DVDuval longer than phpld exists and expected more than that kind of script from him at this stage... although I can understand how he might simply be catering to his current audience.
If you could read you might comprehend my basic assumptions (stated from the beginning) that I am new to this script and don't use Smarty. Maybe that's too much of a concept for you to grasp so let me explain it again: I may be able to manage a script and Smarty, but I choose not to because this phpld comes with an install that says I don't need to know those things. Too bad it doesn't work.
Feel free to flame away the whole time the phplinkdoirectory script does not work on Dreamhost with PHP as CGI, on localhost under the current XAMPP distribution, or under easyPHP on Windows XP except by chance. Baiting you is something to do while the script doesn't work.
EDITED BY "Boby"
manager
03-30-2006, 12:19 AM
Note to the mods: you might want to either rename this forum to something like "inside clique members only" or else tell anon to shut his mouth unless he has something helpful to say. Right now it says "General Support" at the top.
Otherwise, nice forum and nice efforts on the script. I look forward to having it work some day.
Well guys, this thread is *closed* for now!
I have edited some posts and removed bad words and some flames ;)
If you have something constructive to post, please PM me or another moderator/siteadmin and it will be re-opened.
Boby
PS: I will release today I think a new installer that will hopefully work on XAMPP, PHP 5+ and all other.
LATER EDIT:
Updated installer for phpLD 3.0.3
http://www.phplinkdirectory.com/forum/viewtopic.php?t=2923
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.