Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Just Not Working? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Just Not Working?
#624
jgirl (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Just Not Working? 1 Month, 4 Weeks ago Karma: 0  
I don't mean to be negative but I've been at this alllll day and night. This originally was a Fantastico installation. I deleted that install and tried to install the brand new DewNewPHPLinks 2.1.0.1 which also parsed an error before I could even get it up and running.

When calling the docs directory this is the error: Parse error: syntax error, unexpected '}' in /home/thehandm/public_html/docs/index.php on line 1

I can't even get this installed.... can someone please help??
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#625
Dewed (User)
Administrator
Posts: 250
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Just Not Working? 1 Month, 4 Weeks ago Karma: 7  
Really not sure how there could possibly be an error there.. not that I'm infalable.. just that line 1 of /docs/index.php is the opening php tag... <?php .. pretty simple

The top portion of /docs/index.php should look like this ...

Code:

<?php // ******************************************************************* // admin/setup.php // ******************************************************************* include("../include/config.php"); include ("../include/lang/$language.php"); $step = $_GET['step']; if (empty($step)){$step="1";} ?>
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#628
jonny2 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Just Not Working? 1 Month, 3 Weeks ago Karma: 0  
I am having that same error even before getting to setup the system.
http://www.countme-in.com/cmilinks/docs

better install instructions would perhaps help. I looked at index.php line 1 and there is no problem that I can see, and where there should be a "}" or not I don't have a clue. This is what I got in my index/setup file.

************************************

<?php
// *******************************************************************
// admin/setup.php
// *******************************************************************

include("../include/config.php";
include ("../include/lang/$language.php";
$step = $_GET['step']; if (empty($step)){$step="1";
}
?>

************************************

John Jones.
PS: I had PHPlinks (old version) installed on another site and did not have this error come up.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#629
Dewed (User)
Administrator
Posts: 250
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Just Not Working? 1 Month, 3 Weeks ago Karma: 7  
Having installed this on various servers, I'm noticing certain FTP programs don't always toggle between ASCII and Binary correctly mode..

The directory file, is actually a script, and technically should be uploaded as ASCII, but I've just seen a server that refused to run it (with a similar error, even though line one was fine).. I re-uploaded the directory file in Binary mode.. as an accident actually, and to my surprise it worked fine. ...

I don't comprehend it yet, .. but try uploading /docs/index.php in Binary mode, if possible. It might have something to do with my using UTF-8 character mode in the editor I used to write the files.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#630
jonny2 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Just Not Working? 1 Month, 3 Weeks ago Karma: 0  
Well Sir

Your "mistake" saved the day. I uploaded the index.php file in binary and awaaaay to go Joe.

Thanks a lot buddy... I hope jgirl gets to see this

John J.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#631
Dewed (User)
Administrator
Posts: 250
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Just Not Working? 1 Month, 3 Weeks ago Karma: 7  
I was able to help jgirl get squared away.. but I have to admit,, I'm still perplexed.

I use a text editor called Notepad++.. it's pretty great, but possibly I set the file to a character mode I shouldn't have.

I've just opened the /docs/index.php file, set the mode to plain ASCII and saved it...

The download has been updated, hopefully that's the end of that... if not, someone please let me know .. pretty please
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008