4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2018, 10:17:29 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Releases & Support)
| | |-+  Plugins (Moderators: mawenzi, Rembrandt)
| | | |-+  [Plugin] Notepad in Control Panel
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 [2] Print
This topic has not yet been rated!
Author Topic: [Plugin] Notepad in Control Panel  (Read 55818 times)
oswald
Newbie
*
Offline Offline

Posts: 33

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #15 on: December 09, 2005, 11:32:20 PM »

no, didn't help either. Sad
Can you maybe attach your notpad.php as a zip to this thread?
Logged
Bear
Jr. Member
**
Offline Offline

Posts: 56

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #16 on: December 10, 2005, 12:54:29 AM »

try this works for me

* notepad.zip (0.95 KB - downloaded 534 times.)
Logged

oswald
Newbie
*
Offline Offline

Posts: 33

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #17 on: December 11, 2005, 12:25:49 PM »

Nop... not working. Guess I have to remove it from the plugins again. Sad
Logged
m.a
Jr. Member
**
Offline Offline

Posts: 83

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #18 on: February 07, 2007, 12:36:01 AM »

I just installed the notepad.. works fine so far, But saving results in this error:

1
2
DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=
You have an error in your SQL syntax near ' height=' at line 1


Hi,
i have the same problem too!

DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height=' at line 1
Notepad Updated


my 4images version is 1.7.4!
 Best Regards
m.a
Logged
FunnyUser
Jr. Member
**
Offline Offline

Posts: 60

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #19 on: February 07, 2007, 02:34:08 PM »

I've just installed it and it works perfectly fine!

Its even great to leave a message for another admin...

Thanx a lot!
Logged
m.a
Jr. Member
**
Offline Offline

Posts: 83

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #20 on: February 07, 2007, 04:13:55 PM »

I've just installed it and it works perfectly fine!

Its even great to leave a message for another admin...

Thanx a lot!

Hi FunnyUser,
is your 4images version 1.7.4?

m.a
Logged
FunnyUser
Jr. Member
**
Offline Offline

Posts: 60

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #21 on: February 07, 2007, 08:52:19 PM »

Quote  [Expand]
Hi FunnyUser,
is your 4images version 1.7.4?

Sorry I forgot to post that: Yes, I'm using Version: 1.7.4 too.


enjoy yourself!
Logged
Foto-Portal
Newbie
*
Offline Offline

Posts: 43

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #22 on: February 12, 2007, 12:47:50 PM »

hi,

it is not working for me too.
i use version 1.7.4

Error:

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in ...4images/admin/plugins/notepad.php on line 7

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/.../usr/share/pear') in .../4images/admin/plugins/notepad.php on line 7
Logged
Buggy Driver
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 0
-Receive: 1


View Profile
« Reply #23 on: April 05, 2007, 11:49:27 PM »

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in ...4images/admin/plugins/notepad.php on line 7

1
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "../" : "../../";



DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=
You have an error in your SQL syntax near ' height=' at line 1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
if ($action == "update") {
global $site_db;

// extra code to fill the $var
$notes = $_POST["notes"];
$width = $_POST["width"];
$height = $_POST["height"];
//


$sql = "UPDATE admin_notes SET notes='$notes', width=$width, height=$height";
$result = $site_db->query($sql);
printf ("Notepad Updated<br>");
}
Logged
m.a
Jr. Member
**
Offline Offline

Posts: 83

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #24 on: July 11, 2007, 03:07:26 PM »

perfect!
Logged
DilnüvaZ
4images Moderator
Hero Member
*****
Offline Offline

Posts: 527

Thank You
-Given: 1
-Receive: 2

Gönül Okşayıcı


View Profile WWW
« Reply #25 on: May 16, 2008, 02:39:58 PM »

Hi all
i have the same problem too!

DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' height=' at line 1
Notepad Updated


what can i do?
Logged

Jan-Lukas
Addicted member
******
Offline Offline

Posts: 1278

Thank You
-Given: 153
-Receive: 48


View Profile WWW
« Reply #26 on: May 16, 2008, 08:38:20 PM »

Version 1.7.4 > 1.7.6

Error, Fehler
DB Error: Bad SQL Query: UPDATE admin_notes SET notes='', width=, height=


 English search
 Deutsch suche
1
2
3
4
5
6
if ($action == "update") {
global $site_db;
$sql = "UPDATE admin_notes SET notes='$notes', width=$width, height=$height";
$result = $site_db->query($sql);
printf ("Notepad Updated<br>");
}

 English replace
 Deutsch ersetze

1
2
3
4
5
6
7
8
9
10
11
12
13
14
if ($action == "update") {
global $site_db;

// extra code to fill the $var
$notes = $_POST["notes"];
$width = $_POST["width"];
$height = $_POST["height"];
//


$sql = "UPDATE admin_notes SET notes='$notes', width=$width, height=$height";
$result = $site_db->query($sql);
printf ("Notepad Updated<br>");
}

Logged

Danke Harald



pixie_stixs
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #27 on: May 22, 2009, 07:50:03 AM »

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/pixie76/public_html/gallery/admin/plugins/notepad.php on line 7

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/x10hosting/php1/pear') in /home/pixie76/public_html/gallery/admin/plugins/notepad.php on line 7
Logged
Marion
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 16
-Receive: 1


View Profile WWW
« Reply #28 on: May 19, 2011, 12:30:29 PM »

Worked very well with 4images 1.7.9 till my Webhoster changed register_globals  to off this morning. Now I get the same error as in posting above.
Too bad, I've used it very often. Sad
Logged
Pages: «« « 1 [2] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.059 seconds with 20 queries.