View Full Version : AdminCP problems


edeab220
25th March 2004, 12:17 AM
After doing the required edits to the index.php file for vB3 Gold's AdminCP while installing HTL, I'm getting an error. Whenever I try to access the AdminCP, I get this error:


Parse error: parse error in /home/.rafferty/palmforu/palmforums.org/forums/admincp/index.php on line 941

I've checked and doublechecked and triplechecked my editing. I know it's the HTL editing that's causing this as I've restored the original index.php (which worked), and re-edited another copy of the same thing, then uploaded it and it stopped working again.

What do you think went wrong?

KuraFire
25th March 2004, 01:40 AM
What's your line 941 ?

edeab220
25th March 2004, 02:21 AM
What's your line 941 ? According to Word:
construct_nav_option($vbphrase['avatar_storage_type'],

KuraFire
25th March 2004, 12:24 PM
You're doing your editing in Word ??

Okay, if so, STOP THAT. That will not work. Neither will WordPad work. Use Notepad, Editplus or UltraEdit to apply your file modifications.

Floris
25th March 2004, 12:26 PM
I strongly advice against using notepad because it has serious linewrapping issues. WordPad is a mature solution to notepad. But I prefer to advice UltraEdit or EditPlus as advanced and the right tools for any file modification.

If you modify under linux, I advice to use pico with the -w switch or vi.

KuraFire
25th March 2004, 12:32 PM
WordPad has font issues, as it's a RichText editor - that poses incredible risks when editing PHP (plaintext / puretext) files. Notepad doesn't, though I can imagine that linewrapping isn't too good on it.

That basically leaves you with EditPlus or UltraEdit - tools MADE for editing PHP files (among other types).

edeab220
25th March 2004, 11:20 PM
Ok. I've never had any problems with Word in editing my code, but I'll stop using it now ;).

Are there any free PHP editors? I'm only a poor 15 year old ;).

Oblivion Knight
26th March 2004, 12:08 AM
http://www.everythingvb.com/showthread.php?t=181
You may find this handy for future reference.. :)

Developers Pad is a free PHP editor, and is what I generally use.

edeab220
26th March 2004, 02:39 AM
Thanks. I'll reedit the index.php file in admincp and see if that fixes it.

edeab220
26th March 2004, 02:45 AM
What a difference a real PHP editor makes ;). Thanks guys :D.

KuraFire
26th March 2004, 11:02 AM
Glad you got it working :)

Neocorteqz
27th March 2004, 10:58 AM
I like to live on the edge, i edit on the fly with Cute HTML, came with CuteFTP XP 5. :)

Good thing I back up files before i edit. heh.