Skinbase.org Skinbase.org

Gallery problems

By david_ll
882 views 4 replies
peter_vazed avatar
peter_vazed
Member
OP
Error message? <br />file? <br />If it is pictures.php <br /> <br />n in pictures.php op line 36 gid has to be id <br />if(!empty($GLOBALS[&acute;filter&acute;])) $query .= &quot; id=&acute;&quot;.$GLOBALS[&acute;filter&acute;].&quot;&acute; &quot;; <br /> <br />what is gid doing here? line 37 <br /> <br />van pictures.php <br />line 86 if($ar[id] == 0) $root = &quot;/&quot;; <br />XXXXX <br /> <br />/* gid has to be id line 89 and 92*/ <br /> <br />line 239 <br /> <br /> <br />pictures.php <br />line 313 if(file_exists($GLOBALS[&acute;gallery_path&acute;].&quot;/&quot;.$ar[picture]) && !empty($ar[picture])) <br /> <br />line 330 <br /> <br />This line 336 <br /> <br />$res = mysql_query(&quot;UPDATE &quot;.$GLOBALS[´db_gallery´].&quot; SET name=´&quot;.$_POST[´name´].&quot;´, description=´&quot;.$_POST[´description´].&quot;´, gid=´&quot;.$_POST[´root´].&quot;´ WHERE id=´&quot;.$_POST[´id´].&quot;´&quot; or die(&quot;LINE 262:&quot;.mysql_error()); <br /> <br />gid=´&quot;.$_POST[´root´].&quot;´ ----> should be -----> root=´&quot;.$_POST[´root´].&quot;´ <br /> <br />There are typos in the code: gid has to be id <br /> <br /> :fighter
david_ll avatar
david_ll
Member
I made those changes to pictures.php but it didn&acute;t better anything. <br /> <br />The error message I get when trying to upload a pic in the &quot;Pictures&quot; link, is a small pop up window of Internet Explorer, and all it says is &quot;Error&quot;. <br /> <br />And in the Gallery, if I click the upload picture link, it takes me to a page that looks like the rest of the news manager pages, but nothing in the center. The blue bar is present at the top with the &quot;Options - Name - Author - Date...&quot; etc, and the name of the gallery I created is there, but nothing else is present to allow an image upload.
peter_vazed avatar
peter_vazed
Member
Go here: <br />http://members.lycos.nl/vazed/webmagazine/ <br /> <br />I have done the tessite (third time) <br />You can download there the files. <br /> <br />There are more errors, and it is hard to find where they are. <br />It took me 8 weeks to find out and make the changes. <br /> <br />Thanks to the input of the members of this forum in the Q and A <br />Special thanks to Polaris. <br /> <br />And the popup is not working for me either. when i use Netscape. <br /> <br /> <br /> :fighter
david_ll avatar
david_ll
Member
Ooook, thank you. Now, will uploading these files disturb any of the existing articles we have already added? <br /> <br />I also see your index page has the date as being January 1970 hehehe.. mine says 1969! what&acute;s up with that?!
peter_vazed avatar
peter_vazed
Member
<b> david_ll</b> <br /> <br />I had a site already up. Then deleted al the files. <br />Uploaded all the files. <br />I run install. <br />And the news was still there. <br />Your content and news is in the database. <br /> <br />The date.... <br />was already in this forum...... <br />will have a look why it is that date. <br /> <br /> <br /> <br /> :fighter
Sign in to post a reply.