Nov 22, 2009
Pages: 1, 2

Gallery Help Needed - errors help help

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > PHP Programming

Gallery Help Needed - errors help help

onemillion
Parse error: syntax error, unexpected $end in /home/nishe/public_html/gallery/include/themes.inc.php on line 1027


i keep getting this error .. anybody can help me plz let me know...
email me at onemilliondollarteen2@yahoo.com
plzplzplzpzlpzlzpzlpzlz

Comment/Reply (w/o sign-up)

jlhaslip
Sounds to me like you are missing an end curly brace.
If you post the code, we might be able to assist you further.

Notice from jlhaslip:
moved to php forum

Comment/Reply (w/o sign-up)

shadowx
Aye as Jlhaslip said its generally a problem with not ending a logic gate properly (if, while, loop etc...)

Either post the code here for us to check and remedy or count all the curly braces: { } and make sure you get an EVEN number, if you get an odd number than you need to find the place where the curly bracket is missing and add it in.

For best results get a syntax highlighter, mine highlights curly braces when i click them and automatically highlights the matching close bracket so i know where that part of the code ends. If you use a highlighter and check for an open brace that doesnt have a close brace, and that is your problem.

Comment/Reply (w/o sign-up)

onemillion
CODE
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright © 2003-2006 Coppermine Dev Team
v1.1 originally written by Gregory DEMAR

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************************************
Coppermine version: 1.4.10
$Source$
$Revision: 3325 $
$Author: nibbler999 $
$Date: 2006-10-29 23:39:40 +0100 (So, 29 Okt 2006) $
**********************************************/

// Do not edit this file. If you need to customize your theme, edit themes/yourtheme/theme.php instead !!!

// ----------------------------------------------------------------------------- //
// All lines that should NOT be IN themes/sample/theme.php //{THEMES}//
// should end in "//{THEMES}" so that they can be easily stripped //{THEMES}//
if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');} //{THEMES}//

// The following terms can be defined in theme.php
// ('THEME_HAS_RATING_GRAPHICS', 1) : The location for the ratings graphics will
// be directed to the themes images folder.
// RUBBISH : images/rating0.gif
// POOR : images/rating1.gif
// FAIR : images/rating2.gif
// GOOD : images/rating3.gif
// EXCELLENT : images/rating4.gif
// GREAT : images/rating5.gif
//('THEME_HAS_NAvb script:;" class="navmenu_pic" onclick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="{LOCATION}images/info.gif" border="0" align="middle" alt="{PIC_INFO_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{SLIDESHOW_TGT}" class="navmenu_pic" title="{SLIDESHOW_TITLE}"><img src="{LOCATION}images/slideshow.gif" border="0" align="middle" alt="{SLIDESHOW_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="100%">
{PIC_POS}
</td>
<!-- BEGIN report_file_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{REPORT_TGT}" class="navmenu_pic" title="{REPORT_TITLE}"><img src="{LOCATION}images/report.gif" border="0" align="middle" alt="{REPORT_TITLE}" /></a>
</td>
<!-- END report_file_button -->
<!-- BEGIN ecard_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{ECARD_TGT}" class="navmenu_pic" title="{ECARD_TITLE}"><img src="{LOCATION}images/ecard.gif" border="0" align="middle" alt="{ECARD_TITLE}" /></a>
</td>
<!-- END ecard_button -->
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif" border="0" align="middle" alt="{PREV_TITLE}" /></a>
</td>
<td align="center" valign="middle" class="navmenu" width="48">
<a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="{LOCATION}images/next.gif" border="0" align="middle" alt="{NEXT_TITLE}" /></a>
</td>
</tr>

EOT;

// HTML template for intermediate image display
if (!isset($template_display_media)) //{THEMES}
$template_display_media = <<<EOT
<tr>
<td align="center" class="display_media" nowrap="nowrap">
<table cellspacing="2" cellpadding="0" class="imageborder">
<tr>
<td align="center">
{IMAGE}

</td>
</tr>
</table>
</td></tr>
<tr><td>
<table width="100%" cellspacing="2" cellpadding="0" class="tableb">
<tr>
<td align="center">

{ADMIN_MENU}
</td>
</tr>
</table>





<!-- BEGIN img_desc -->
<table cellpadding="0" cellspacing="0" class="tableb" width="100%">
<!-- BEGIN title -->
<tr>
<td class="tableb"><center><b>
{TITLE}
</b></center></td>
</tr>
<!-- END title -->
<!-- BEGIN caption -->
<tr>
<td class="tableb"><center>
{CAPTION}
</center></td>
</tr>
<!-- END caption -->
</table>
<!-- END img_desc -->
</td>
</tr>

EOT;

// HTML template for the image rating box
if (!isset($template_image_rating)) //{THEMES}
$template_image_rating = <<<EOT
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
</tr>
<tr>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}" rel="nofollow"><img src="{LOCATION}images/rating0.gif" border="0" alt="{RUBBISH}" /><br /></a></td>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}" rel="nofollow"><img src="{LOCATION}images/rating1.gif" border="0" alt="{POOR}" /><br /></a></td>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}" rel="nofollow"><img src="{LOCATION}images/rating2.gif" border="0" alt="{FAIR}" /><br /></a></td>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}" rel="nofollow"><img src="{LOCATION}images/rating3.gif" border="0" alt="{GOOD}" /><br /></a></td>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}" rel="nofollow"><img src="{LOCATION}images/rating4.gif" border="0" alt="{EXCELLENT}" /><br /></a></td>
<td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}" rel="nofollow"><img src="{LOCATION}images/rating5.gif" border="0" alt="{GREAT}" /><br /></a></td>
</tr>
</table>
EOT;

// HTML template for the display of comments
if (!isset($template_image_comments)) //{THEMES}
$template_image_comments = <<<EOT
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">

<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="tableh2_compact" nowrap="nowrap">
<b>{MSG_AUTHOR}</b><a name="comment{MSG_ID}"></a>&nbsp;
<!-- BEGIN ipinfo -->
({IP})
<!-- END ipinfo -->
</td>


<td class="tableh2_compact" align="right" width="100%">
<!-- BEGIN report_comment_button -->
<a href="report_file.php?pid={PID}&amp;msg_id={MSG_ID}&amp;what=comment" title="{REPORT_COMMENT_TITLE}"><img src="images/report.gif" width="16" height="16" border="0" align="middle" alt="{REPORT_COMMENT_TITLE}" /></a>
<!-- END report_comment_button -->


<!-- BEGIN buttons -->
<a href="java script:;" onclick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="middle" /></a>
<a href="delete.php?msg_id={MSG_ID}&what=comment" onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="middle" /></a>
<!-- END buttons -->
</td>
<td class="tableh2_compact" align="right" nowrap="nowrap">
<span class="comment_date">[{MSG_DATE}]</span>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="tableb_compact">
<div id="cbody{MSG_ID}" style="display:block">
{MSG_BODY}
</div>
<div id="cedit{MSG_ID}" style="display:none">
<!-- BEGIN edit_box_smilies -->
<table width="100%" cellpadding="0" cellspacing="0">

<form name="f{MSG_ID}" method="POST" action="db_input.php">
<input type="hidden" name="event" value="comment_update" />
<input type="hidden" name="msg_id" value="{MSG_ID}" />
<tr>
<td>
<input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
</td><td>
</tr>
<tr>
<td width="80%">
<textarea cols="40" rows="2" class="textinput" name="msg_body" onselect="storeCaret_f{MSG_ID}(this);" onclick="storeCaret_f{MSG_ID}(this);" onkeyup="storeCaret_f{MSG_ID}(this);" style="width: 100%;">{MSG_BODY_RAW}</textarea>
</td>
<td class="tableb_compact">
</td>
<td>
<input type="submit" class="comment_button" name="submit" value="{OK}" />
</td>
</form>
</tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
</tr>
</table>
{SMILIES}
<!-- END edit_box_smilies -->
<!-- BEGIN edit_box_no_smilies -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<form name="f{MSG_ID}" method="POST" action="db_input.php">
<input type="hidden" name="event" value="comment_update" />
<input type="hidden" name="msg_id" value="{MSG_ID}" />
<td>
<input type="text" name="msg_author" value="{MSG_AUTHOR}" class="textinput" size="25" />
</td>
</tr>
<tr>
<td width="100%">
<textarea cols="40" rows="2" class="textinput" name="msg_body" style="width: 100%;">{MSG_BODY_RAW}</textarea>
</td>
<td class="tableb_compact">
</td>
<td>
<input type="submit" class="comment_button" name="submit" value="{OK}" />
</td>
</form>
</tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" width="1" height="2" /><br /></td>
</tr>
</table>
<!-- END edit_box_no_smilies -->
</div>
</td>
</tr>
</table>
EOT;

// HTML template for the form to add comments
if (!isset($template_add_your_comment)) //{THEMES}
$template_add_your_comment = <<<EOT
<form method="post" name="post" action="db_input.php">
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
</tr>
<tr>
<td colspan="1">
<table width="100%" cellpadding="0" cellspacing="0">

<!-- BEGIN user_name_input -->
<tr>
<td class="tableb_compact">
{NAME}
</td>
<td class="tableb_compact">
<input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
</td>
<!-- END user_name_input -->
<!-- BEGIN input_box_smilies -->
<td class="tableb_compact">
{COMMENT}
</td>
<td width="100%" class="tableb_compact">
<input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
</td>
<!-- END input_box_smilies -->
<!-- BEGIN input_box_no_smilies -->
<td class="tableb_compact">
{COMMENT}
</td>
<td width="100%" class="tableb_compact">
<input type="text" class="textinput" id="message" name="msg_body" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
</td>
<!-- END input_box_no_smilies -->
<td class="tableb_compact">
<input type="hidden" name="event" value="comment" />
<input type="hidden" name="pid" value="{PIC_ID}" />
<input type="submit" class="comment_button" name="submit" value="{OK}" />
</td>
</tr>
</table>
</td>
</tr>
<!-- BEGIN smilies -->
<tr>
<td width="100%" class="tableb_compact">
{SMILIES}
</td>
</tr>
<!-- END smilies -->
</table>
</form>
EOT;

// HTML template used by the cpg_die function
if (!isset($template_cpg_die)) //{THEMES}
$template_cpg_die = <<<EOT

<tr>
<td class="tableb" align="center">
<font size="3"><b>{MESSAGE}</b></font>
<!-- BEGIN file_line -->
<br />
<br />
{FILE_TXT}{FILE} - {LINE_TXT}{LINE}
<!-- END file_line -->
<!-- BEGIN output_buffer -->
<br />
<br />
<div align="left">
{OUTPUT_BUFFER}
</div>
<!-- END output_buffer -->
<br /><br />
</td>
</tr>


EOT;

// HTML template used by the msg_box function
if (!isset($template_msg_box)) //{THEMES}
$template_msg_box = <<<EOT

<tr>
<td class="tableb" align="center">
<font size="3"><b>{MESSAGE}</b></font>
</td>
</tr>
<!-- BEGIN button -->
<tr>
<td align="center" class="tablef">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="admin_menu">
<a href="{LINK}">{TEXT}</a>
</td>
</tr>
</table>
</td>
</tr>
<!-- END button -->

EOT;

// HTML template for e-cards
if (!isset($template_ecard)) //{THEMES}
$template_ecard = <<<EOT
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
<title>{TITLE}</title>
</head>
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
<br />
<p align="center"><a href="{VIEW_ECARD_TGT}"><b>{VIEW_ECARD_LNK}</b></a></p>
<table border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td bgcolor="#000000">
<table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
<tr>
<td valign="top">
<a href="{VIEW_MORE_TGT}displayimage.php?pos=-{PID}">
<img src="{PIC_URL}" border="1" alt="" /></a>
<br />
<div align="center">
<h2>{PIC_TITLE}</h2>
</div>



</td>
<td valign="top" width="300">
<div align="right"><img src="{URL_PREFIX}images/stamp.gif" border="0" alt="" /></div>
<br />
<b><font face="arial" color="#000000" size="4">{GREETINGS}</font></b>
<br />
<br />
<font face="arial" color="#000000" size="2">{MESSAGE}</font>
<br />
<br />
<font face="arial" color="#000000" size="2">{SENDER_NAME}</font>
(<a href="

i hope you got the full code.
if not reply ASAP!

[attachment=1375:init.inc.php]
okay heres the COMPLETE FILE ATTATCHED>> DAWONLOAD AND SAVE >> EDIT AND THEN REATTATCH FOR ME>>
THANK YOU...

Notice from rvalkass:

Please put code into Code or Codebox tags. Also, please use the Edit button to add to posts rather than making three posts in a row.
Trap17 Readme

 

 

 


Comment/Reply (w/o sign-up)

galexcd
The problem is in the file themes.inc.php not init.inc.php.

On line 298 in init.inc.php, you require themes.inc.php which is the page returning the error.
CODE
require "include/themes.inc.php";  //All Fallback Theme Templates and Functions


If you post themes.inc.php we might be able to find the error for you.

Comment/Reply (w/o sign-up)

onemillion
[attachment=1376:themes.inc.php]
[attachment=1376:themes.inc.php]
here is the original file attatched plz edit for me and let me know so i can see if it works... plz i need it ASAP!!!!!!

Comment/Reply (w/o sign-up)

dragonfang00
you have 2 extra } on line 1006 and 1007.. try to remove it and add an EOT on line 1006.. I really don't know if this will work, I don't have xampp installed on my PC right now so I can't be of help much.. just try it maybe it is the reason the script has an error..

Comment/Reply (w/o sign-up)

onemilliondollarteen
i dunno wat you're talking abt..
can you plz edit ths file and attatch it to the next post.. plz plz plz.

Comment/Reply (w/o sign-up)

dragonfang00
here.. i just hope it will solve your problem..

[attachment=1378:themes.inc.php]

Comment/Reply (w/o sign-up)

onemilliondollarteen
well. now it says
Parse error: syntax error, unexpected $end in /home/nishe/public_html/gallery/include/themes.inc.php on line 1028

instaed of line 1027 ..
EKKKKHHHHH!!!!
ANYBODY CAN HELP>>????

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : gallery, needed, errors

  1. Tutorial Needed?!
    PHP+Ajax (12)
  2. Fopen Errors :(
    grrr, i'm angry :( (8)
    Okay, i've made a very, very simple PHP counter for my site, i've set up all the permissions
    and everything (triple checked permissions are right); CODE $hits =
    file_get_contents("/home/tracdoor/public_html/hitcounter.txt"); $hits = $hits + 1;    $handle =
    fopen("hitcounter.txt", "w"); fwrite($handle, $hits); fclose($handle); print $hits; ?>
    Now that works fine on my homepage, or any page in the /public_html/ directory, but if i include
    that in one of my pages: CODE There have been hits. It says: QUOTE Warning:
    fopen(hitcou....
  3. Admin Page
    Tutorial Needed? (4)
    I need to look at a nice tutorial how do you create an admin access page with many functions as many
    as possible.....
  4. Tools Needed!
    PHP & MySQL (9)
    Hello, everyone! I need some tools for those two things to test PHP scripts coming together with
    database on my laptop, instead checking them on a web-server which takes time.....
  5. Php Code Needed Iii
    (10)
    Hello, everyone. I need your help again! Who might create the PHP code, the picture is above
    this text. Basically, I want when the user fill in all the information in this form, it
    automatically was sent to my email. And, then, the dialog box appears or on the same window, it was
    said that your request has been sent. Moreover, if the user did not fill the entire information,
    the dialog box appears stating that you did not fill some field. Thanks, for help. You always do
    that.....
  6. Looking For Command Line Based Sql Modification
    Program Needed For SQL? (1)
    How I use Windows command prompt client and do modifications to my SQL database. If yes, please
    write the commads I should know for that. If no, please get me the software with which I can do it.
    Topic title modified. Proper English is always required when posting in our forum. ....
  7. Php Code Needed
    Working Together? (5)
    Hello, everyone. I need your help again. This forum is quite good for it. Well, I need create a
    registration form for my web-site using PHP and SQL. The information it should contain: 1) User
    Name 2) First Name 3) Last Name 4) Password 5) e-mail Address 6) Security Image: that images helps
    to protect a random registration, for instance, 56+2=where user have to type an answer in order to
    finish registration. That's all for today. Anymore things, I will post another post over here.
    ....
  8. Php Code
    Needed?! (15)
    Well, I am a novice in PHP programming, so there is a script which I wanna get: 1. You go the
    web-site 2. On the main screen, there is a some kind of field windows, the one you get used to type
    in, when you go to google, for instance. 3. He or she types her email address and it's going to
    be saved in my SQL database. 4. That's it. Help me if you can.....
  9. Slaed Cms
    Book Needed!!! (2)
    Hello, everyone! I need some tutorial for Slaed Engine for any version you might find. I wanna learn
    how you can make modules or blocks for this CMS. Especially, library functions and other things that
    will make the web-site works like virtual library.....
  10. Wamp Packages Needed To Test Scripts
    Set up Apache, PHP, etc on your machine (1)
    In order to test php scripts on your localhost machine, you require a system that includes php
    parsing. A WAMP set-up 'usually' includes a database server, and a database manager, too.
    For Windows machines, theses are usually referred to as WAMP because they include Apache, Mysql, and
    PHP for Windows, hence the acronym WAMP. Wikipedia has a listing of the available packages with
    details about the included versions and often a link to the wikipedia article describing them. The
    list can be found at http://en.wikipedia.org/wiki/Comparison_of_WAMPs Personally, I....
  11. Php And Flash Image Gallery
    Need some help in creating or editing an xml file while viewing some o (5)
    Hello there and thanks for the helping hand you are offering. PHP newbie here! /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> So here is my problem:
    On my website I have a flash image gallery.The way the gallery works is by uploading pictures in a
    folder and editing? an xml file.(pics.xml) where it adds the following code when you upload a
    picture: CODE           etc... Now I have users that upload products they sell on the
    website or they advertise their business(hotels, jewellers, car resellers,...) So for eve....
  12. Php Only Gallery
    I don't know PHP well and can't find a free script (7)
    I will pay for this. More info on payment on bottom of post. Alright I know just about everything
    about CSS and Ruby on Rails I know more then enough to make certain apps, but i have never been good
    at PHP. I do know that this script would be fairly short though. Does anyone know how to make this
    web photo gallery with PHP only. I don't want MySQL. No need for it. In my root folder I'll
    make a gallery folder. Inside of that will be photography, illustrations, personal, etc. Inside of
    those is where I want the script. So there wil be a script for each one, but....
  13. Creatting A Playlist Through Php
    script help needed (5)
    Hi I am trying to make a script so that i can insert songs into a playlist, but i need a script in
    which it opens the playlist file and removes the closing tag at the end, so before i can add more
    entrys. e.g CODE Location 5 Location 4 Location 3 Location 2 Location 1 But to
    add more entrys i would have to get rid of the atx, then use the fputs to place the new entry into
    the file. code tags added Topic title modified. ....
  14. New Found Php Coding Errors
    I always thought these worked, but suddenly they no longer do?! (5)
    Hi i'm dan from new zealand, right next to my home land australia. I have been writing php
    scripts for two years now and just recently none of them have been working. Please help me out as
    best as you can, i'm sure it is only something simple. CODE ----------------Form
    1-------------------------- // ---- Customized form script for the HBRC--------------- //
    Receiving variables ----------------------------------- @$fn = addslashes($_POST ); @$ln =
    addslashes($_POST ); @$f1 = addslashes($_POST ); @$f2 = addslashes($_POST ); @$f3 =
    addslashes($_POST ); //--....
  15. Ipetsite Related Programming Help Needed
    iPetSite screwed me over (0)
    Ok so i you are anyone here who would like to hlp me with these files, please pm me your email. Here
    is what i need help with: Replacement of lost files Repair of corrupt files Configuring said files
    Help with setting up the site If you can help me, please let me know. If you would like to be an
    admin on my site, also let me know. Just I request that you don't post here unless you plan or
    intend to help some how.....
  16. Php Help Needed Including File In A Page.
    (2)
    i'm a noob in php programming, i can understand and modify php programs, but i dont know to
    write on my own. So please somebody who is well versed in php help me. My need is, I'm
    currently builiding a knowledge base website , i've my own design for the website, check here,
    http://laschatz.info/kzone/ Each page in the left hand site has a tree navigation of all the
    topics available. Since this information must be same in all the pages, presently I need to change
    all the pages after adding a new category. Could you please help me in such a way that I can ad....
  17. Header Redirect Errors
    (5)
    Hi, I am using the header function to redirect after the processing of the form. I have to specify
    a internal link using '#link'. This works in Firefox and opera. But in Internet Explorer
    internal linking when done from a redirect is not working for somewhat reasons. e.g.
    header("Location: http://www.example.com/index.php#link"); this works in Firefox and Opera but
    not in Internet Explorer . IE just accepts 'http://www.example.com/index.php' instead of
    http://www.example.com/index.php#link Please help me if you know anything about this. Well ther....
  18. Help Needed With Directory/file Listing Code Infinite Loop
    Made an infinite loop but why is this so? (5)
    Hi all ive got a small and simple (for the moment atleast /unsure.gif"
    style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> )file and directory
    listing script in php as follows CODE $dir = "."; $num = 0; $file = scandir($dir); while($file
    = scandir($dir)){     echo $file ;     echo " ";     $num = $num + 1;      }; the concept is
    simple enough, the directory to start with is the current one, so scan this directory and while we
    have a result do a loop to echo the file/directories found, incriment the array number by one so we
    get the....
  19. Php - Fsockopen, Get, Etc - Help Needed
    (1)
    Hi I am writing a PHP script that gets the search results from here . I can get the results from
    the first page fine, but when I try to get the next page, it doesn't return the correct results.
    Try comparing the results from here , and searching for "Vampire" (In the "Name" text box) here .
    The first page of results is the same, but when you go on the the second page of results, they are
    totally different. This I think is because the "persist_search" (see the URI on the Planet Elder
    Scrolls Search) always seems invalid. Is there any reason why the PHP would get....
  20. A Very Simple Album Problem, Help Needed.
    (3)
    Hey, I created a page album.php, it shows all the images of a user xxx. and its url is like
    album.php?nick=xxx. Now suppose there are 2 images in this user album, one image id is 111 and
    second image id is 112.now how i can link to the each image of the album so that it looks like ,
    album.php?nick=xxx&image_id=111. and album.php?nick=xxx&image_id=112. I hope you understand it.....
  21. New Free Php Photo Weblog Gallery
    Post Your Comments plz (6)
    Hi Dears trap17 Members we make one new php script with name Faphoto you can find more info at this
    link : http://www.hotscripts.com/Detailed/64626.html We submit this script At hotscripts.com ,
    for more preview we want you test it and tell us how can better write this script also this is lite
    version and v1 plz post here your comment and vote us at hotscripts . i think we can write better
    script when read your comments /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> thanks to all trap17 php members , they help us to write this ....
  22. Help Needed With Silly Error
    (8)
    Hi i have made a stupid error on one of my pages and having trouble finding it. It says unexpected
    ')' on line 114 can anyone please help me find it? Here is the page: CODE /** * *
    @package TibiaME Clan/Download Site * @version 1.00 2006/09/27 00:04:37 wappy * @copyright
    (c)2004-2006 wappyCULT * @home http://hack.s-60.org * @license You can use/modify this script but
    distributing it without permisinn, or removing the "Script By: wappy" link will invalidate your
    license and give wappy (wappyCULT) FULL RIGHTS to request removal of the script from your server....
  23. Script Not Working :s
    mysql errors (5)
    process_login.php: Process the login. $host = "localhost";// the host that u are connecting
    $username = "root";// user name $password = ""; // passworld $basedatos = "forum"; //Dont
    change this1. $db = mysql_connect($host, $username, $password); mysql_select_db($basedatos, $db);
    $user= $_REQUEST ; $pass= md5($_REQUEST ); $query1= "SELECT * FROM smf_members WHERE
    memberName='$user'"; $mkquery= mysql_query($query1,$db); $row1= mysql_fetch_assoc($mkquery);
    if ($row1 == $user) { if ($row1 == $pass) { /* I seted them to 1 hour duration of login. If you w....
  24. Show Users Logged In
    Some help needed.. (5)
    I need some help if somebody can help me out please doit /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" />.. Ok here is the thing - I have an login box (works
    perfect) and I have MySQL database (works perfect).. Now I need to make thing like a list where
    shows everyone who is logged on.. But making it I need to use the same MySQl database and the same
    login box.. Example: when your write tour Login and password and press "Log-in!" opens page where
    is list of all logged in member.. If there is ant tutorial aor scripts/codes please hel....
  25. php header() function help needed
    automatic re-direct (4)
    hey ppl, u seem to have real gud knowledge about php, i just wanted a little help...i designed this
    website, but i want that if i click on certain page, it should open for some few seconds and then
    browser should automatically redirect me to some other page....i tried this with header() function
    but i couldnt do the wait n redirect part, ... so somebody plz help.... -thanx in advance!....
  26. Php Photo And Image Gallery Script
    PHP Photo And Image Gallery Script (2)
    This script is great and the documentation is excellent!! I have used it on my site without really
    knowing much about PHP. Script ....
  27. How Would I Make A Picture Gallery?
    Make a picture gallery in php (5)
    Ok everyone i am very new to php and ive been reading some tutorials on php but somehow they dont
    really teach me anything usefull. just how to echo hello world and all that. I know HTML and CSS.
    What i want to do is make a photography website. In this site i want to have Galleries and show the
    pictures in there. Now your probably thinking why dont you just do that in html. I would want to
    have pictures and have that picture assigned to a category or two and then i have the list of
    catgory and and when i goto them php just looks for the pics which fit to that catego....
  28. Getting Errors On A Script
    need to know what im doing wrong (3)
    ok please help me!! im trying to get this tournamt/leage ladder script working, its with php but i
    think i put all the files in the right palces but i keep getting this error .... CODE Warning:
    main(modules/NukeLadder/admin/index.php): failed to open stream: No such file or directory in
    /home/berkolli/public_html/DjLuki/admin/case/case.php on line 77 Warning:
    main(modules/NukeLadder/admin/index.php): failed to open stream: No such file or directory in
    /home/berkolli/public_html/DjLuki/admin/case/case.php on line 77 Warning: main(): Failed opening
    'modules/Nuke....
  29. Problem With Headers
    setcookie errors (5)
    I'm having troubles with my authentication function, if the the users uses wrong login info, it
    works like a charm, but it gives me errors when i set the cookies, so help would be appreciated...
    CODE Function auth(){ $user=$_POST ; $pass=$_POST ; $qry="SELECT id from Solarity where
    username='$user' and password='$pass'"; $result=mysql_query($qry) or die("A problem
    occured during authentication process"); $rows=mysql_num_rows($result); if($rows print " Wrong
    username and/or password "; print "$user | $pass "; print " Go Back "; exit; } elseif(....
  30. Visitors Online
    With PHP (no MySQL is needed) (9)
    Another script, which shows the visitors onlineat the moment in your site. This script was not made
    by me, I just think it will be very usefull to u. CODE $timeout = 15; // change it. It is the
    timer which will delete the member of  online list (in minutes) if (!$datei) $datei =
    dirname(__FILE__)."/online.txt"; $time = @time(); $ip = $REMOTE_ADDR; $string = "$ip|$time\n"; $a =
    fopen("online.txt", "a+"); fputs($a, $string); fclose($a); $timeout = time()-(60*$timeout); $all =
    ""; $i = 0; $datei = file("online.txt"); for ($num = 0; $num $pieces = explode("|",$datei....

    1. Looking for gallery, needed, errors
Similar
Tutorial Needed?! - PHP+Ajax
Fopen Errors :( - grrr, i'm angry :(
Admin Page - Tutorial Needed?
Tools Needed! - PHP & MySQL
Php Code Needed Iii
Looking For Command Line Based Sql Modification - Program Needed For SQL?
Php Code Needed - Working Together?
Php Code - Needed?!
Slaed Cms - Book Needed!!!
Wamp Packages Needed To Test Scripts - Set up Apache, PHP, etc on your machine
Php And Flash Image Gallery - Need some help in creating or editing an xml file while viewing some o
Php Only Gallery - I don't know PHP well and can't find a free script
Creatting A Playlist Through Php - script help needed
New Found Php Coding Errors - I always thought these worked, but suddenly they no longer do?!
Ipetsite Related Programming Help Needed - iPetSite screwed me over
Php Help Needed Including File In A Page.
Header Redirect Errors
Help Needed With Directory/file Listing Code Infinite Loop - Made an infinite loop but why is this so?
Php - Fsockopen, Get, Etc - Help Needed
A Very Simple Album Problem, Help Needed.
New Free Php Photo Weblog Gallery - Post Your Comments plz
Help Needed With Silly Error
Script Not Working :s - mysql errors
Show Users Logged In - Some help needed..
php header() function help needed - automatic re-direct
Php Photo And Image Gallery Script - PHP Photo And Image Gallery Script
How Would I Make A Picture Gallery? - Make a picture gallery in php
Getting Errors On A Script - need to know what im doing wrong
Problem With Headers - setcookie errors
Visitors Online - With PHP (no MySQL is needed)

Searching Video's for gallery, needed, errors
See Also,
advertisement


Gallery Help Needed - errors help help

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com